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'