-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Security] Allow configuring a redirect url via route name when switching user #47343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hey! I think @johnkrovitch has recently worked with this code. Maybe they can help review this? Cheers! Carsonbot |
src/Symfony/Bundle/SecurityBundle/DependencyInjection/MainConfiguration.php
Outdated
Show resolved
Hide resolved
Status: needs work |
31f983e
to
3e9d77a
Compare
@xabbuh thx for approving |
src/Symfony/Component/Security/Http/Firewall/SwitchUserListener.php
Outdated
Show resolved
Hide resolved
56cdc2c
to
fcb1f62
Compare
@xabbuh friendly ping, requested change regarding |
src/Symfony/Component/Security/Http/Firewall/SwitchUserListener.php
Outdated
Show resolved
Hide resolved
fcb1f62
to
ccabea1
Compare
when merged I will update the already created document PR |
Can you please add an entry in SecurityBundle/CHANGELOG.md? We forgot to do it in #46338 |
ccabea1
to
016a24a
Compare
I'added one but please review it as the English wording may not be right/fluent perhaps :s |
Looks as good as if it's been wrote by a native speaker 🤷♂️ |
Thank you @94noni. |
Something went wrong while merging so I will close here, but your commit is in ce1f115. |
… user (94noni) This PR was squashed before being merged into the 6.2 branch. Discussion ---------- [Security] Allow configuring a target url when switching user Documents symfony/symfony#47343 Supersed symfony/symfony#46338 (feature changed) Close #17021 Commits ------- 90dc3c8 [Security] Allow configuring a target url when switching user
Change the switch user redirect "target url" to a "target route", cf ticket
First version can be found here #46338
Friendly ping @xabbuh from the ticket and @chalasr @fabpot as original reviewers
Before fixing tests, is adding such url generator arg in such position ok? the class is marked final