From 62c56a71d4dc535410581f22fac507b7a64232e2 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Sat, 8 Jul 2017 22:29:26 +0930 Subject: [PATCH] Remember users forever (5 years) rather than 2 weeks --- framework/core/src/Http/Rememberer.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/framework/core/src/Http/Rememberer.php b/framework/core/src/Http/Rememberer.php index 78606ae99..78a63e019 100644 --- a/framework/core/src/Http/Rememberer.php +++ b/framework/core/src/Http/Rememberer.php @@ -37,9 +37,7 @@ class Rememberer $lifetime = null; if (! $session) { - $lifetime = 60 * 60 * 24 * 14; - - $token->lifetime = $lifetime; + $token->lifetime = $lifetime = 2628000; // 5 years $token->save(); }