mirror of
https://github.com/flarum/framework.git
synced 2025-02-28 12:13:10 +08:00
Oops, that should be in seconds not minutes
This commit is contained in:
parent
62c56a71d4
commit
9dde8529eb
@ -37,7 +37,7 @@ class Rememberer
|
||||
$lifetime = null;
|
||||
|
||||
if (! $session) {
|
||||
$token->lifetime = $lifetime = 2628000; // 5 years
|
||||
$token->lifetime = $lifetime = 5 * 365 * 24 * 60 * 60; // 5 years
|
||||
$token->save();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user