diff --git a/php/src/Auth/AuthManager.php b/php/src/Auth/AuthManager.php index 202efadd..41755689 100644 --- a/php/src/Auth/AuthManager.php +++ b/php/src/Auth/AuthManager.php @@ -39,7 +39,7 @@ readonly class AuthManager { } $timeElapsed = time() - (int) $timestamp; - if ($timeElapsed > 60) { + if ($timeElapsed > 60 || $timeElapsed < 0) { return false; }