Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3925

Symfony 4, how redirect the user after login (or logout) to the previous page?

$
0
0

By example, the user go to the "about me" page. From this page, he can login or logout via a button in the navbar.

When the user login or logout, he is automatically redirected to the home page. Instead, I want redirect the user to the previous page (the "about me" in this example)

After read the doc I don't find/understand how I can condifure the redirection for my purposes

Someone can explain/show me ?


Viewing all articles
Browse latest Browse all 3925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>