Bug 1016321

Summary: Login redirect to Dashboard fails if user presses Login twice
Product: [Retired] Zanata Reporter: Damian Jansen <djansen>
Component: Component-UIAssignee: zanata-dev-internal <zanata-dev-internal>
Status: CLOSED WORKSFORME QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.0CC: zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-06 06:01:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Damian Jansen 2013-10-07 22:48:05 UTC
Description of problem:
If a user presses Login, then presses Login again, the Zanata appends account%2Fsign_in%3Fcontinue%3D%252Fzanata%252F to the url which, on successful login, directs the user to the Login page.
The page is empty and the user will likely think their login has failed.

Attempting to login again will send them to their Dashboard, with the error "You are already logged in, please log out first if you wish to log in again"

Version-Release number of selected component (if applicable):
3.0

How reproducible:
Easy always

Steps to Reproduce:
1. Go to the homepage ($server/zanata)
2. Press Login
3. Press Login again when the page has loaded - note the altered url
4. Login with correct credentials

Actual results:
User sees the Login page

Expected results:
User sees the Dashboard

Additional info:

Comment 1 Damian Jansen 2014-03-06 06:01:59 UTC
Updated sign in page prevents this error.