-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 "Do not do redirect handling when loggin out" #40407
base: master
Are you sure you want to change the base?
Conversation
cf77375
to
bed74ea
Compare
Good finding 👍 |
|
||
return new RedirectResponse($this->urlGenerator->linkToRouteAbsolute( | ||
'core.login.showLoginForm', | ||
['clear' => true] // this param the code in login.js may be removed when the "Clear-Site-Data" is working in the browsers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we sure it does by now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logout redirect still has this code, so your question is unrelated to this PR which only removes the subsequent (i.e., 2nd) redirect. See:
server/core/Controller/LoginController.php
Line 101 in 2bd0f07
['clear' => true] // this param the code in login.js may be removed when the "Clear-Site-Data" is working in the browsers |
What's keeping this from getting merged? |
The failing DCO check, for example. |
bed74ea
to
4aad91c
Compare
@kesselb is was signed off, but apparently there was a mismatch between committer email and sign-off email. Should be fixed now. |
4aad91c
to
07640e5
Compare
What's now keeping this from getting merged? |
07640e5
to
3b69063
Compare
I rebased for CI, I do not understand enough about this for approving, I’ll follow @kesselb lead on this one. |
Hello Hello, it's been a while and I don't remember all the details. I think the middleware was added to address the redirect cause by clear-site-data executionContext and can, as we removed executionContext again, go. |
I think this can be merged. |
This reverts commit 60e5a5e. That commit was only required due to "executionContext" which has since been removed. See: nextcloud#16310 Signed-off-by: Sebastian Hasler <sebastian.hasler@stuvus.uni-stuttgart.de>
This reverts commit 60e5a5e. That commit was only required due to "executionContext" which has since been removed. See: #16310
Checklist