Issue 16106

user/logout could be redirected to previous non-restricted page

16106
Reporter: bko
Type: Bug
Summary: user/logout could be redirected to previous non-restricted page
Priority: Minor
Resolution: Fixed
Status: Closed
Created: 2014-07-11 09:38:57.435
Updated: 2017-10-10 09:33:47.207
Resolved: 2017-10-10 09:33:47.185
        
        
Description: If a user is on user/% and decide to logout, because the logout try to redirect to the current page, which the user will lose access permission once logged out, therefore the user will receive 403 forbidden notice.

Should we try to redirect user to the home page once logged out from  an user/% page, or the page before one logged in? Which makes better sense?]]>