Code

Opened 8 years ago

Closed 8 years ago

#2448 closed defect (worksforme)

[patch] auth.views.logout does not redirect

Reported by: marcink@… Owned by: adrian
Component: Contrib apps Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

After [3431] the auth.views.logout view does not do any redirects,
so after clicking 'log out' in the admin interface I see the logout
page with "welcome, admin" line still present in the top bar.

The view does log me out correctly, but fails to do a redirect so
request.user still contains user information.

The attached patch fixed this for me.

Attachments (1)

diff_fix_logout_redirect.txt (638 bytes) - added by marcink@… 8 years ago.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by marcink@…

comment:1 Changed 8 years ago by mtredinnick

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

I cannot repeat this at all. Can you please verify if it is still occurring with the current trunk and reopen if so.

I don't really understand how the patch is fixing the problem, so if you could provide a more verbose explanation if the problem still exists, that would be great, too.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


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

 
Note: See TracTickets for help on using tickets.