Login should take you back to the page you were on, not the front page

Bug #509675 reported by Tanner Lovelace
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LoCo Team Portal
Fix Released
Medium
Michael Hall

Bug Description

When logging in, say for example, when registering for an event, the user should be taken back to the originating page after login instead of the front page of the directory.

Tags: login

Related branches

Revision history for this message
Daniel Holbach (dholbach) wrote :

Shouldn't the login decorator be doing this?

Changed in loco-directory:
importance: Undecided → Medium
milestone: none → 0.2.0
status: New → Triaged
Revision history for this message
Thomas Bechtold (toabctl) wrote :

The login_decorator does this. You can try it out:
1) log out
2) go to http://127.0.0.1:8000/teams/albania/edit
3) The login_decorator redirects you to the login and after the login, you go back to http://127.0.0.1:8000/teams/albania/edit

Maybe the bugreport means that you should go back to the page after you clicked manually to Login.

Revision history for this message
Tanner Lovelace (lovelace) wrote :

The problem occurred specifically on an event page. Under "Registered Attendees" there is a line that says "You must log in to register for this event." with "log in" being a link to log in. This is the link I clicked on and after logging in it took me back to the front page, not the event page.

Changed in loco-directory:
assignee: nobody → mhall119 (mhall119)
status: Triaged → Fix Committed
Changed in loco-directory:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.