Closed Bug 612969 Opened 14 years ago Closed 14 years ago

Sign out button redirects user to blank page

Categories

(support.mozilla.org :: Army of Awesome, task, P1)

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: williamr, Assigned: wenzel)

References

()

Details

(Whiteboard: 2.3.1+)

Clicking the sign out button takes the user to a blank page.

Steps to Reproduce:
1. Click on a tweet and sign in with twitter account
2. Reply to a tweet or close the reply window
3. Click the Sign Out button

Expected: Redirected to landing page. User is signed out
Actual: Redirected to correct page but it's blank. User is signed out.
Whiteboard: 2.3.1+
Target Milestone: 2.3.1 → 2.3.2
The button issues a POST request, while we enforced GET only on this view. It won't do harm here to allow POST requests, so:

https://github.com/fwenzel/kitsune/compare/master...cc-signout-blank-612969

r? jsocol.
Assignee: nobody → fwenzel
Status: NEW → ASSIGNED
Instead of allowing POST here, we are now redirecting to the same page after performing the logout, which is a much cleaner solution.

Landed on master:
https://github.com/jsocol/kitsune/commit/955ac59

and 2.3.x:
https://github.com/jsocol/kitsune/commit/73eb886
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Verified sign out no longer redirects- users stays on AoA page
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.