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 ?