Opened 11 months ago

Last modified 11 months ago

#11545 new defect

Cannot log out when deleting user with Trac 1.0.2dev r12379 or later

Reported by: jun66j5 Owned by: hasienda
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords: logout
Cc: Trac Release: 1.0


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/ Therefore, the user cannot be logged out after t:r12379.

Attachments (0)

Change History (1)

comment:1 Changed 11 months ago by hasienda

I saw this coming after getting cc-ed to the aforementioned Trac ticket.

As I see it, AcctMgr

  • needs to detect whether or not POST is required
  • in case POST is required, it must compose and issue a fake POST request instead of a redirect

Please correct, if I'm wrong.

Add Comment

Modify Ticket

as new The owner will remain hasienda.

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

Note: See TracTickets for help on using tickets.