Modify

Opened 18 years ago

Closed 17 years ago

Last modified 17 years ago

#1204 closed defect (worksforme)

Logout link should be able to send users to another page

Reported by: weltepe@… 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 17 years ago by anonymous

Cc: r.s.hatcher@… added; anonymous removed

comment:2 Changed 17 years ago by jfernandez@…

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

comment:3 Changed 17 years ago by Matt Good

Resolution: worksforme
Status: newclosed

Yeah, if this is fixed in Trac there's no need to duplicate it in this plugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matt Good.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.