Closed Bug 940048 Opened 12 years ago Closed 8 years ago

Logging out of crash-stats causes the browser to redirect to /home/products/Firefox

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mbrandt, Unassigned)

Details

When a user logs out of crash-stats the page they are on redirects to /home/products/Firefox irregardless of where they are at on the site. Note this is not a regression. Steps to reproduce: 1. goto a crashreport eg. https://crash-stats.allizom.org/report/list?product=Firefox&range_value=7&range_unit=days&date=2013-11-17&signature=bitguard.dll%400x16eb99&version=Firefox%3A25.0 2. log into crash-stats via persona 3. log out of crash-stats Expected: After the user logs out they should remain on the report they were viewing Actual: Upon logging out the browser redirects to https://crash-stats.allizom.org/home/products/Firefox
Thanks for noticing. If you're on a page were you don't belong once logged out it'll (and should!) redirect to /login/.
Assignee: nobody → peterbe
Status: NEW → ASSIGNED
Hmm... I'm having second thoughts about this. Considering, most sites that have a Log Out either takes you to the home page or it takes you to a page like /logged-out.html In fact, I think it's rare for a site to just stay on the page you're on. We could probably make it so that you stay on the page you're on when you log out but honestly, what's the benefit? If you're on a page that you can't come back to signed out, like /admin/groups/ you're going to immediately be redirect to a page that says you don't belong there. That might just be too weird. Unassigned it away from me for now because I'm not convinced we should be doing this at all.
Assignee: peterbe → nobody
Status: ASSIGNED → NEW
Agreed.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
I think our use case is a bit different - other services tend to expect a user to log in to use them. Most of crash-stats is useable without an account. I discovered this bug when I logged in with the incorrect persona account, logged out so I could re-auth with the correct account. I was dismayed that the site redirected me away from the page I was currently on and had been able to view without being logged in. I'd nominate this as a low-priority feature. It's unlikely to hit many users but is none the less an annoyance.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Status: REOPENED → RESOLVED
Closed: 12 years ago8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.