Skip to content

Commit

Permalink
Do not touch the user timestamps when updating the remember_token.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmichot committed Jan 4, 2017
1 parent aa9d1e7 commit 4549743
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Illuminate/Auth/EloquentUserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ public function updateRememberToken(UserContract $user, $token)
{
$user->setRememberToken($token);

$user->timestamps = false;

$user->save();
}

Expand Down

0 comments on commit 4549743

Please sign in to comment.