Modify ↓
#11545 closed defect (fixed)
Cannot log out when deleting user with Trac 1.0.2dev r12379 or later
Reported by: | Jun Omae | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | normal | Keywords: | logout |
Cc: | Trac Release: | 1.0 |
Description
After t:r12379, Logout of Trac, LoginModule._do_logout
, requires POST request. However, AccountManagerPlugin redirects to /logout
when deleting user at source:accountmanagerplugin/trunk/acct_mgr/web_ui.py@13290:246#L226. Therefore, the user cannot be logged out after t:r12379.
Attachments (0)
Change History (6)
comment:1 Changed 11 years ago by
comment:2 Changed 8 years ago by
Owner: | Steffen Hoffmann deleted |
---|
comment:3 Changed 7 years ago by
as a workaround, install TracPermRedirect (https://trac-hacks.org/svn/permredirectplugin/trunk/), this will fix the post issue
comment:4 Changed 7 years ago by
Owner: | set to Ryan J Ollos |
---|---|
Status: | new → accepted |
The auth cookie is deleted when deleting a user so I don't see the need to redirect to LoginModule._logout
. I think we can just redirect to /login
when deleting an account.
comment:6 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
I saw this coming after getting cc-ed to the aforementioned Trac ticket.
As I see it, AcctMgr
Please correct, if I'm wrong.