1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00
lapineige 2023-12-21 17:48:42 +01:00 committed by GitHub
parent f957b2b4ad
commit aabf29a294
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,11 +8,11 @@ index 13aef8f67a..55d8dbf9d1 100644
- $response = new RedirectResponse($this->urlGenerator->linkToRouteAbsolute( - $response = new RedirectResponse($this->urlGenerator->linkToRouteAbsolute(
- 'core.login.showLoginForm', - 'core.login.showLoginForm',
- ['clear' => true] // this param the the code in login.js may be removed when the "Clear-Site-Data" is working in the browsers - ['clear' => true] // this param the code in login.js may be removed when the "Clear-Site-Data" is working in the browsers
+ $redirectUrl = $this->config->getSystemValue('logout_url', + $redirectUrl = $this->config->getSystemValue('logout_url',
+ $this->urlGenerator->linkToRouteAbsolute( + $this->urlGenerator->linkToRouteAbsolute(
+ 'core.login.showLoginForm', + 'core.login.showLoginForm',
+ ['clear' => true] // this param the the code in login.js may be removed when the "Clear-Site-Data" is working in the browsers) + ['clear' => true] // this param the code in login.js may be removed when the "Clear-Site-Data" is working in the browsers)
)); ));
- -
+ $response = new RedirectResponse($redirectUrl); + $response = new RedirectResponse($redirectUrl);