I'm working with the redirect after logout module to redirect the user to the login page after he logs out.
Now I have a link in my main menu with route
user/logout. And my module
redirect after logout is configured to redirect to
But when I click on the link I'm not redirected to user/login but I'm being send to the 'front-page' (I am logged out). And when I surf to
mylink.com/user/logout I am being redirected to user/login. Why doesn't this work with the link?