Modify

Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#1204 closed defect (worksforme)

Logout link should be able to send users to another page

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

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

comment:2 Changed 7 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 7 years ago by mgood

  • Resolution set to worksforme
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed The owner will remain mgood.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.