Commit 1d01d78
committed
logout: make logout code more similar to upstream nextcloud server
See https://github.com/nextcloud/server/blob/b085803c0bfe8c568e5710525e49d5f6378833b6/core/Controller/LoginController.php#L99
and following lines.
Also note that setting `clearingExecutionContexts` is no longer required,
because it had to do with the executionContexts feature which is no longer
used by nextcloud since nextcloud/server#16310.
Furthermore, with the behavior introduced in
nextcloud/server#12573, setting
`clearingExecutionContexts` breaks our logout redirects, because the
middleware subsequently (after the logout redirect) returns another
redirects to `/login?clear=1`.1 parent a4866d4 commit 1d01d78
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | 104 | | |
106 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
| |||
0 commit comments