mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 06:53:47 +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