mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Small patch fix
This commit is contained in:
parent
46a5f7515b
commit
87fdec25e7
1 changed files with 2 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue