mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 21:11:55 +08:00
Remove unused $lifetime variable
This commit is contained in:
parent
e30de50f99
commit
8f9d9061b4
|
@ -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