mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 21:11:55 +08:00
Merge pull request #1382 from clarkwinkelmann/patch-2
Remove unused $lifetime variable
This commit is contained in:
commit
f8afe53e70
|
@ -33,8 +33,6 @@ class Rememberer
|
|||
|
||||
public function remember(ResponseInterface $response, AccessToken $token)
|
||||
{
|
||||
$lifetime = null;
|
||||
|
||||
$token->lifetime = 5 * 365 * 24 * 60 * 60; // 5 years
|
||||
$token->save();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user