Skip to content

[stable15] Do not do redirect handling when loggin out - #14275

Merged
rullzer merged 1 commit into
stable15from
backport/12573/stable15
Feb 20, 2019
Merged

[stable15] Do not do redirect handling when loggin out#14275
rullzer merged 1 commit into
stable15from
backport/12573/stable15

Conversation

@rullzer

Copy link
Copy Markdown
Member

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 <roeland@famdouma.nl>
@rullzerrullzer added the 3. to review Waiting for reviews label Feb 18, 2019
@rullzerrullzer added this to the Nextcloud 15.0.5 milestone Feb 18, 2019

@MorrisJobkeMorrisJobke left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
MemberAuthor

Also +1 from me obiously 😉

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

Ravinou commented Mar 11, 2019

Copy link
Copy Markdown

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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@rullzer@Ravinou@MorrisJobke