-
-
Notifications
You must be signed in to change notification settings - Fork 213
Do not redirect a frontend member to a protected page after logout #6210
Do not redirect a frontend member to a protected page after logout #6210
Conversation
Would be nice to have that in the page model anyway :) |
I understand your logic regarding the logout element but not at all regarding the login element. Why would you not want to be redirected to a protected page after login? Isn't the workflow like this:
|
Implemented in bf3b9b0. |
"Why would you not want to be redirected to a protected page after login?" I don't want not to be redirected to a protected page after login. Yes, of course, in many cases I want but that's not the problem. The login module provides a logout link, if a member is logged in. If the module is placed on a protected page (often in page header or sidebar in a protected website area) and the member visits some protected pages, the 'last_page_visited' is a protected page. |
I see. Adjusted in 78eb2c3. |
'Redirect to last page visited' should redirect to home if last visited page is a protected page.