Merge pull request #1382 from clarkwinkelmann/patch-2

Remove unused $lifetime variable
This commit is contained in:
Toby Zerner 2018-03-07 11:42:41 +10:30 committed by GitHub
commit f8afe53e70

View File

@ -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();