nextcloud/lib/private/AppFramework/Middleware/Security/Exceptions
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
..
AppNotEnabledException.php Fix others 2016-07-21 18:13:57 +02:00
CrossSiteRequestForgeryException.php Fix others 2016-07-21 18:13:57 +02:00
LaxSameSiteCookieFailedException.php Handle SameSiteCookie check for index.php in AppFramework Middleware 2017-09-24 21:07:16 +02:00
NotAdminException.php Provide translated error message for permission error 2018-02-26 17:00:29 +01:00
NotConfirmedException.php Update license headers 2017-11-06 16:56:19 +01:00
NotLoggedInException.php Fix others 2016-07-21 18:13:57 +02:00
ReloadExecutionException.php Do not do redirect handling when loggin out 2019-02-06 11:29:32 +01:00
SecurityException.php Fix others 2016-07-21 18:13:57 +02:00
StrictCookieMissingException.php Update license headers 2017-11-06 16:56:19 +01:00