2fa
2fa copied to clipboard
Redirect to referer after 2FA success
Bundle version: 7.5.0 Symfony version: 6.4.12 PHP version: 8.2.23
Description I'm trying to redirect to the original referer. We tested to write a listener to store the referer original value through the 2fa-process but I think we can do it easier.
Additional Context
I think the solution could be around this option inside security.yaml => default_target_path: referer
but the value referer don't exist i think.
Have you a solution for us ? Could we write a PR to help you on that ?
Thanks a lot ! Misha