Prevent return to protected content after logout

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Prevent return to protected content after logout

lahouari
Hello everyone,
In an html file used as a decorator I used a link to logout a user
Logout
The user is redirected correctly to the login form defined in the configuration class
http.formLogin().loginPage("/login");
But if he push a previous button of the browser he can back to his private space?
How to prevent this?
Thank you in advance.