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

Do not pollute the session with a target path #1191

Merged
merged 4 commits into from
Jan 16, 2020

Conversation

aschempp
Copy link
Member

@aschempp aschempp commented Jan 15, 2020

The target path is stored in the session, so the front end has a fallback place to redirect the user, if he tries to navigate away in 2FA process, and no 2FA page is configured in the root page.

We need to remove the session value after successful login or if the user cancels the 2FA process (logout).

@aschempp aschempp added the bug label Jan 15, 2020
@aschempp aschempp added this to the 4.9 milestone Jan 15, 2020
@aschempp aschempp self-assigned this Jan 15, 2020
Toflar
Toflar previously approved these changes Jan 15, 2020
@leofeyer leofeyer merged commit 42d577d into master Jan 16, 2020
@leofeyer leofeyer deleted the bugfix/session-target-path branch January 16, 2020 08:49
@leofeyer
Copy link
Member

Thank you @aschempp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants