mirror of
https://github.com/flarum/core.git
synced 2025-08-01 14:10:37 +02:00
Remember users forever (5 years) rather than 2 weeks
This commit is contained in:
@@ -37,9 +37,7 @@ class Rememberer
|
|||||||
$lifetime = null;
|
$lifetime = null;
|
||||||
|
|
||||||
if (! $session) {
|
if (! $session) {
|
||||||
$lifetime = 60 * 60 * 24 * 14;
|
$token->lifetime = $lifetime = 2628000; // 5 years
|
||||||
|
|
||||||
$token->lifetime = $lifetime;
|
|
||||||
$token->save();
|
$token->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user