Modify ↓
#1204 closed defect (worksforme)
Logout link should be able to send users to another page
Reported by: | Owned by: | Matt Good | |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | normal | Keywords: | |
Cc: | r.s.hatcher@… | Trac Release: | 0.10 |
Description
Users click 'Logout' from any page requiring special privileges and as a result a page says "Forbidden ... BLAH_PRIVILEGE privileges are required to preform this operation" which makes it sound like they didn't successfully logout.
I think the desired behavior is to confirm they logged out visually ("You have successfully logged out"), but it would also be fine if the Logout button could just send them to some public page like /wiki.
Attachments (0)
Change History (3)
comment:1 Changed 18 years ago by
Cc: | r.s.hatcher@… added; anonymous removed |
---|
comment:2 Changed 17 years ago by
comment:3 Changed 17 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Yeah, if this is fixed in Trac there's no need to duplicate it in this plugin.
Note: See
TracTickets for help on using
tickets.
I found that the auth.py file was updated to allow administrators to configure a custom location to redirect users when they click the logout link.
To configure that you have to modify your trac.ini as follows:
[metanav] logout.redirect = Custom-Location
For example, in my case I'm using:
[metanav]
logout.redirect = /login
So, when the user logouts the application is redirected to the login page.
I think they did this change in the trunk as well as in the 0.10 branch. I don't know if that resolves the problem or it;s only a work-around since the point of view of the AccountManagerPlugin