Ticket #3783 (new defect)

Opened 2 months ago

Last modified 2 months ago

form based login method does not forward to main url if request not known

Reported by: arnuschky Assigned to: mgood
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords: login form based html
Cc: Trac Release: 0.11

Description

The form based login does not forward to the main page correctly upon a successful login. This happens when the original request is not known.

In my special case, the original request is never known, as I redirect unencrypted requests to the login form to a encrypted connection. On the way, the original request gets lost.

Result: The user ends up on the login screen again, even after the login was successful. Additionally, no message indicates that the login was successful.

Trac-0.11.1 and TracAccountManager?-0.2.1dev_r3857-py2.4

Attachments

Change History

09/23/08 22:21:58 changed by mgood

You need to change your redirect rule to go to "https://yourserver/login?referer=<whatever>" to override the fact that currently the referrer is going to be the unencrypted /login URL. Either point it to the index page, or if you want to get fancy there may be a way to write the redirect so that it uses the original referring page.

09/26/08 06:55:13 changed by arnuschky

Thanks for the fast answer, I will contact the author of the noanonymous plugin and ask for a fix.


Add/Change #3783 (form based login method does not forward to main url if request not known)




Change Properties
Action