From a78b625568066682badf5ccca3225f39e35b0e13 Mon Sep 17 00:00:00 2001 From: Zoey Date: Mon, 13 Apr 2026 16:00:54 +0200 Subject: [PATCH] Apply suggestion from @Zoey2936 Signed-off-by: Zoey --- php/src/Auth/AuthManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }