Red Hat Bugzilla – Bug 852531
Conductor should redirect you to last-accessed page on forced login
Last modified: 2012-12-04 10:18:13 EST
Description of problem:
If you attempt to access a URL that requires authentication, but are not authenticated, you are redirected to the login page.
After logging in, you _should_ be redirected to the page you were trying to access before logging in. (This is a regression of #782242, but its disposition indicates that a new ticket should be opened.)
Steps to Reproduce:
1. Ensure you are logged out of Conductor.
2. Visit a URL like /conductor/images
3. Log in.
User is on main dashboard page.
User is redirected to the page they tried to access (/conductor/images here)
Pull request sent: https://github.com/aeolusproject/conductor/pull/28
Author: Matt Wagner <firstname.lastname@example.org>
Date: Fri Aug 31 15:43:14 2012 -0400
BZ 852531 - Login redirects to session[:return_to] if set
This fixes a bug where, if a user tried to visit a page without
logging in, logging in would take them to the pools page, rather
than the page they had been on previously, as intended.
(cherry picked from commit 278ff3875554d11da79172f7315c39bd741a165c)
in build aeolus-conductor-0.13.3-1.el6cf
works with aeolus-conductor-0.13.14-1.el6cf
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.