From a7abc2cd1bb6befa4fd953f560c55a36dafb56dd Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 5 May 2021 16:30:12 +1000 Subject: [PATCH] Fixes for password protection --- app/Http/Middleware/PasswordProtection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Middleware/PasswordProtection.php b/app/Http/Middleware/PasswordProtection.php index bf5e8decb7..22dfb4b1c7 100644 --- a/app/Http/Middleware/PasswordProtection.php +++ b/app/Http/Middleware/PasswordProtection.php @@ -42,7 +42,7 @@ class PasswordProtection if($timeout == 0) $timeout = now()->addYear(); else - $timeout = now()->addMinutes($timeout/60000); + $timeout = now()->addMinutes($timeout/1000); if (Cache::get(auth()->user()->hashed_id.'_logged_in')) {