From 188041ce05772617f6fe8982ec251ec85a7032aa Mon Sep 17 00:00:00 2001 From: Vincent Date: Mon, 19 Aug 2024 21:21:41 +0200 Subject: [PATCH] Update src/Security/JWTAuthenticator.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Maƫl Gangloff Signed-off-by: Vincent --- src/Security/JWTAuthenticator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Security/JWTAuthenticator.php b/src/Security/JWTAuthenticator.php index 4c1a24e..feda611 100644 --- a/src/Security/JWTAuthenticator.php +++ b/src/Security/JWTAuthenticator.php @@ -47,7 +47,7 @@ class JWTAuthenticator implements AuthenticationSuccessHandlerInterface time() + 604800, // expiration '/', null, - 'prod' === $this->appEnv, + !$this->kernel->isDebug() true, false, 'strict'