Skip to content

Conversation

@rullzer
Copy link
Member

@rullzer rullzer commented Feb 18, 2019

Backport of #12573

Fixes #12568
Since the clearing of the execution context causes another reload. We
should not do the redirect_uri handling as this results in redirecting
back to the logout page on login.

This adds a simple middleware that will just check if the
ClearExecutionContext session variable is set. If that is the case it
will just redirect back to the login page.

Signed-off-by: Roeland Jago Douma <[email protected]>
@rullzer rullzer added the 3. to review Waiting for reviews label Feb 18, 2019
@rullzer rullzer added this to the Nextcloud 15.0.5 milestone Feb 18, 2019
Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works 👍

@rullzer
Copy link
Member Author

rullzer commented Feb 20, 2019

Also +1 from me obiously 😉

@rullzer rullzer merged commit 6e110c3 into stable15 Feb 20, 2019
@rullzer rullzer deleted the backport/12573/stable15 branch February 20, 2019 07:55
@MorrisJobke MorrisJobke mentioned this pull request Feb 20, 2019
4 tasks
@Ravinou
Copy link

Ravinou commented Mar 11, 2019

hi !
It didn't work for me. I just installed Nextcloud 15.0.5 and when i log out, URL is the same. Issue 12568 is not solved for me : #12568 (comment)

I'm on Firefox 65.0.1

EDIT : i clean my browser cache and it seems to work. Sometimes randomly, it's strange but it seems it works sorry. Thank you for your work !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants