mirror of
https://github.com/flarum/framework.git
synced 2025-05-22 22:59:57 +08:00
Remove unused $lifetime variable
This commit is contained in:
@ -33,8 +33,6 @@ class Rememberer
|
|||||||
|
|
||||||
public function remember(ResponseInterface $response, AccessToken $token)
|
public function remember(ResponseInterface $response, AccessToken $token)
|
||||||
{
|
{
|
||||||
$lifetime = null;
|
|
||||||
|
|
||||||
$token->lifetime = 5 * 365 * 24 * 60 * 60; // 5 years
|
$token->lifetime = 5 * 365 * 24 * 60 * 60; // 5 years
|
||||||
$token->save();
|
$token->save();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user