From 87fdec25e752e5b38575a6f755b145541cd16997 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Sun, 16 Feb 2020 14:29:19 +0100 Subject: [PATCH] Small patch fix --- .../app-00-add-logout_url-conf.patch | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/sources/patches_last_version/app-00-add-logout_url-conf.patch b/sources/patches_last_version/app-00-add-logout_url-conf.patch index c0df1ab..919f2d4 100644 --- a/sources/patches_last_version/app-00-add-logout_url-conf.patch +++ b/sources/patches_last_version/app-00-add-logout_url-conf.patch @@ -1,8 +1,8 @@ diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php -index 85d3b6b837..e7b9f5fdca 100644 +index 13aef8f67a..55d8dbf9d1 100644 --- a/core/Controller/LoginController.php +++ b/core/Controller/LoginController.php -@@ -130,11 +130,12 @@ class LoginController extends Controller { +@@ -119,11 +119,12 @@ class LoginController extends Controller { } $this->userSession->logout(); @@ -18,13 +18,4 @@ index 85d3b6b837..e7b9f5fdca 100644 + $response = new RedirectResponse($redirectUrl); $this->session->set('clearingExecutionContexts', '1'); $this->session->close(); - $response->addHeader('Clear-Site-Data', '"cache", "storage", "executionContexts"'); -@@ -329,7 +330,7 @@ class LoginController extends Controller { - ['app' => 'core']); - return $this->createLoginFailedResponse($user, $originalUser, - $redirect_url, self::LOGIN_MSG_INVALIDPASSWORD); -- } -+ } - // TODO: remove password checks from above and let the user session handle failures - // requires https://github.com/owncloud/core/pull/24616