mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
14 lines
489 B
Diff
14 lines
489 B
Diff
--- a/core/Controller/LoginController.php
|
|
+++ b/core/Controller/LoginController.php
|
|
@@ -100,7 +100,10 @@ class LoginController extends Controller {
|
|
}
|
|
$this->userSession->logout();
|
|
|
|
- return new RedirectResponse($this->urlGenerator->linkToRouteAbsolute('core.login.showLoginForm'));
|
|
+ $redirectUrl = $this->config->getSystemValue('logout_url',
|
|
+ $this->urlGenerator->linkToRouteAbsolute('core.login.showLoginForm')
|
|
+ );
|
|
+ return new RedirectResponse($redirectUrl);
|
|
}
|
|
|
|
/**
|