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

Merge pull request #5617 from turbo124/v5-develop

Fixes for password protection
This commit is contained in:
David Bomba 2021-05-05 16:30:38 +10:00 committed by GitHub
commit bc90914fb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')) {