Skip to content

Commit

Permalink
Revert stateless check
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Aug 13, 2024
1 parent 14d271e commit dc6de50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Firewall/ContextListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function authenticate(RequestEvent $event)
}

$request = $event->getRequest();
$session = !$request->attributes->getBoolean('_stateless') && $request->hasPreviousSession() && $request->hasSession() ? $request->getSession() : null;
$session = $request->hasPreviousSession() && $request->hasSession() ? $request->getSession() : null;

$request->attributes->set('_security_firewall_run', $this->sessionKey);

Expand Down

0 comments on commit dc6de50

Please sign in to comment.