When site members click logout they are taken back to the homepage.
I'd like to redirect the user back to the login page but with a "You're logged out" type of message.
Is something like this possible yet?
It is not possible yet, but a quick plugin would make this possible. It would just be a controller with a logout action. You'd be able to call the action as a url with:
Then you can logout the user the same way Craft does in their controller and edit the redirect as you see fit. Something like this:
This would log them out and then send them to the homepage with a query attached to the end.