1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Fixes for password protection

This commit is contained in:
David Bomba 2021-05-05 16:30:12 +10:00
parent d1e0d982f1
commit a7abc2cd1b

View File

@ -42,7 +42,7 @@ class PasswordProtection
if($timeout == 0) if($timeout == 0)
$timeout = now()->addYear(); $timeout = now()->addYear();
else else
$timeout = now()->addMinutes($timeout/60000); $timeout = now()->addMinutes($timeout/1000);
if (Cache::get(auth()->user()->hashed_id.'_logged_in')) { if (Cache::get(auth()->user()->hashed_id.'_logged_in')) {