-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #53172 [SecurityBundle] Prevent to login/logout without a request…
… context (symfonyaml) This PR was squashed before being merged into the 6.3 branch. Discussion ---------- [SecurityBundle] Prevent to login/logout without a request context | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix #53170 | License | MIT Using `Security::login()` in a context without request throws a type error See all details in the issue symfony/symfony#53170 In this PR, we prevent to use `Security::login()` and `Security::logout()` without a request context, to avoid a fatal error. Commits ------- aaa9392dd7 [SecurityBundle] Prevent to login/logout without a request context
- Loading branch information
Showing
2 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters