1
0
mirror of https://github.com/flarum/core.git synced 2025-05-05 23:15:22 +02:00

Oops, that should be in seconds not minutes

This commit is contained in:
Toby Zerner 2017-07-08 22:35:11 +09:30
parent 93140b8fa4
commit 4b47adabcf

View File

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