mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
- fix Nextcloud source patch - fix patches not applied on installation - add an empty patches directory to work around a nasty cache issue when running package_check
14 lines
566 B
Diff
14 lines
566 B
Diff
--- a/core/Controller/LoginController.php
|
|
+++ b/core/Controller/LoginController.php
|
|
@@ -119,7 +119,10 @@
|
|
}
|
|
$this->userSession->logout();
|
|
|
|
- $response = new RedirectResponse($this->urlGenerator->linkToRouteAbsolute('core.login.showLoginForm'));
|
|
+ $redirectUrl = $this->config->getSystemValue('logout_url',
|
|
+ $this->urlGenerator->linkToRouteAbsolute('core.login.showLoginForm')
|
|
+ );
|
|
+ $response = new RedirectResponse($redirectUrl);
|
|
$response->addHeader('Clear-Site-Data', '"cache", "cookies", "storage", "executionContexts"');
|
|
return $response;
|
|
}
|