From 1e64d2067b7b1e4ed91986d6a3b1c789d4518ec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Rosa?= Date: Sun, 10 Sep 2023 22:35:29 +0100 Subject: [PATCH] FIX: Check session exists on expireSession --- src/Auth.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Auth.php b/src/Auth.php index 624358d..ff78a26 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -487,6 +487,7 @@ public static function logout(?string $location = null) */ private static function expireSession(): bool { + self::sessionCheck(); $sessionTtl = static::$session->get('SESSION_TTL'); if (!$sessionTtl) {