Closed
Bug 715604
Opened 13 years ago
Closed 12 years ago
Logging in does not follow original request
Categories
(Participation Infrastructure :: Phonebook, defect, P2)
Participation Infrastructure
Phonebook
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 810992
People
(Reporter: jdm, Unassigned)
References
Details
(Keywords: regression, Whiteboard: [regression])
If I visit a link to mozillians.org and I am not logged in, I would expect that I would be taken to the original link upon logging in. Instead, I am always redirected to my profile.
Comment 1•13 years ago
|
||
This sounds like
Comment 2•13 years ago
|
||
SUSPENSE.
Comment 3•13 years ago
|
||
This sounds like a user complaint on the 6-hour session cookie we've had on mozillians for awhile.
Reporter | ||
Comment 4•13 years ago
|
||
I don't see the connection. This occurs when I visit a link, get redirected to the login page, login immediately, and then am taken to my profile.
Reporter | ||
Comment 5•13 years ago
|
||
From digging through the code, I'm pretty sure this was a regression introduced along with BrowserID, but I couldn't find the place where the actual redirect occurs upon successful login.
Reporter | ||
Comment 6•13 years ago
|
||
Aha, the culprit is at https://github.com/mozilla/mozillians/blob/master/apps/browserid/views.py#L41 . This was introduced with BrowserID; previously we were presumably using the default django auth stuff that tied in with django.contrib.auth.redirect_to_login, which has some magic that redirects to the given next URL on successfully logging in.
Comment 7•13 years ago
|
||
Ah, I see what the issue is. Thanks for flagging down the issue. Interested in offering a commit, Josh?
Reporter | ||
Comment 8•13 years ago
|
||
Ordinarily yes, but there's enough uncertainty in my understanding that I'll leave it to someone more experienced.
Updated•12 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: [regression]
Updated•12 years ago
|
Component: mozillians.org → Phonebook
Product: Websites → Community Tools
QA Contact: mozillians-org → phonebook
Target Milestone: 1.3 → ---
Version: unspecified → other
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•