Bug 788856 - Sign in fails when initiated from sign-out page
Summary: Sign in fails when initiated from sign-out page
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: 1.5-SNAPSHOT
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.5
Assignee: David Mason
QA Contact: Alex Eng
URL:
Whiteboard:
Depends On:
Blocks: zanata-1.5.0
TreeView+ depends on / blocked
 
Reported: 2012-02-09 06:28 UTC by David Mason
Modified: 2012-03-07 00:08 UTC (History)
2 users (show)

Fixed In Version: 1.5
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-03-07 00:08:55 UTC
Embargoed:


Attachments (Terms of Use)

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)


Note You need to log in before you can comment on or make changes to this bug.