Apply suggestion from @Zoey2936

Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey
2026-04-13 16:00:54 +02:00
committed by GitHub
parent 443593d4fb
commit a78b625568

View File

@@ -39,7 +39,7 @@ readonly class AuthManager {
}
$timeElapsed = time() - (int) $timestamp;
if ($timeElapsed > 60) {
if ($timeElapsed > 60 || $timeElapsed < 0) {
return false;
}