Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Prevent useless session validation when no id or username is present. (#3634)" #3973

Merged
merged 1 commit into from
Jul 4, 2017

Conversation

bernd
Copy link
Member

@bernd bernd commented Jul 4, 2017

This reverts commit c3983db.

The SSO plugin relies on validation of the session to be able to skip the login form and log in the user automatically.

Fixes #3948

…present. (#3634)"

This reverts commit c3983db.

The SSO plugin relies on validation of the session to be able to skip the
login form and log in the user automatically.

Fixes #3948
@bernd bernd added this to the 2.3.0 milestone Jul 4, 2017
@dennisoelkers dennisoelkers merged commit 3767534 into master Jul 4, 2017
@dennisoelkers dennisoelkers deleted the revert-3634 branch July 4, 2017 08:32
dennisoelkers added a commit that referenced this pull request Jul 28, 2017
Before this change, whenever a session validation attempt failed, the
session data in localStorage was removed. This was leading to a race
condition for automated browser testing, when validation took longer
than visiting the page for the first time to put session data in
localStorage, which was immediately removed by the validation promise
handler.

After this change, session data in localStorage is removed only if
present.

Refs #3634, #3948, #3973.
bernd pushed a commit that referenced this pull request Jul 28, 2017
Before this change, whenever a session validation attempt failed, the
session data in localStorage was removed. This was leading to a race
condition for automated browser testing, when validation took longer
than visiting the page for the first time to put session data in
localStorage, which was immediately removed by the validation promise
handler.

After this change, session data in localStorage is removed only if
present.

Refs #3634, #3948, #3973.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants