Skip to content

Commit

Permalink
Merge branch '5.4' into 6.4
Browse files Browse the repository at this point in the history
* 5.4:
  [Validator] added Polish translation for units 116-119
  Revert stateless check
  [Console] Fix side-effects from running bash completions
  skip transient Redis integration tests on AppVeyor
  • Loading branch information
chalasr committed Aug 15, 2024
2 parents 8e70f39 + dc6de50 commit 6b5ee0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Firewall/ContextListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ public function authenticate(RequestEvent $event): void
}

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


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

Expand Down

0 comments on commit 6b5ee0a

Please sign in to comment.