Skip to content

Commit

Permalink
Restore user timestamps property after save.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmichot committed Jan 4, 2017
1 parent 4549743 commit acebc5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Illuminate/Auth/EloquentUserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,13 @@ public function updateRememberToken(UserContract $user, $token)
{
$user->setRememberToken($token);

$timestamps = $user->timestamps;

$user->timestamps = false;

$user->save();

$user->timestamps = $timestamps;
}

/**
Expand Down

0 comments on commit acebc5a

Please sign in to comment.