mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-21 10:50:10 +00:00
@@ -39,7 +39,7 @@ readonly class AuthManager {
|
||||
}
|
||||
|
||||
$timeElapsed = time() - (int) $timestamp;
|
||||
if ($timeElapsed > 60) {
|
||||
if ($timeElapsed > 60 || $timeElapsed < 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user