Bug 788856

Summary: Sign in fails when initiated from sign-out page
Product: [Retired] Zanata Reporter: David Mason <damason>
Component: Component-UIAssignee: David Mason <damason>
Status: CLOSED CURRENTRELEASE QA Contact: Alex Eng <aeng>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.5-SNAPSHOTCC: aeng, zanata-bugs
Target Milestone: ---   
Target Release: 1.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-07 00:08:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 786670    

Description David Mason 2012-02-09 06:28:01 UTC
Description of problem:
Sign in redirects to the page where the sign in link was clicked, which causes logout if the page was the logout page.

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

How reproducible:
Always

Steps to Reproduce:
1.Sign in
2.Click sign out link
3.Without changing page, click sign in
4.Enter credentials and click sign in
  
Actual results:
Not signed in after redirect

Expected results:
Should always sign in after entering correct credentials

Additional info:
Would be fixed by adding appropriate redirects (and url rewrite) to sign out operation, so user is never left on the sign out page so is not able to attempt sign in from the sign out page.

Sign in from error page has similar problem (user shown blank page).

Comment 1 David Mason 2012-02-15 02:27:37 UTC
Fixed in 1.5

A rewritten sign out url existed but was not being used. Changing the sign out link to use this prevents the sign out action being carried along with the sign in redirect.

https://github.com/zanata/zanata/commit/f38447e4ef1fcc4b400a937c8833c0d8783a6bee

Comment 2 Alex Eng 2012-02-20 03:33:22 UTC
VERIFIED in Zanata version 1.5-SNAPSHOT (20120220-1107)