nextcloud/lib/private/AppFramework/Middleware/Security
Roeland Jago Douma 60e5a5eca4
Do not do redirect handling when loggin out
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>
2019-02-06 11:29:32 +01:00
..
Exceptions Do not do redirect handling when loggin out 2019-02-06 11:29:32 +01:00
BruteForceMiddleware.php Remove unused import statements 2018-02-14 16:55:43 +01:00
CORSMiddleware.php Remove explicit type hints for Controller 2017-08-01 17:32:03 +02:00
PasswordConfirmationMiddleware.php Update password confirmation middleware 2018-11-02 13:44:45 +01:00
RateLimitingMiddleware.php Remove unused import statements 2018-02-14 16:55:43 +01:00
ReloadExecutionMiddleware.php Do not do redirect handling when loggin out 2019-02-06 11:29:32 +01:00
SameSiteCookieMiddleware.php Handle SameSiteCookie check for index.php in AppFramework Middleware 2017-09-24 21:07:16 +02:00
SecurityMiddleware.php Do not use file as template parameter 2018-08-09 16:45:25 +02:00