From 11e5ca5af7f9186b5a9831956beb27879668de4a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 6 Aug 2021 13:43:36 +0200 Subject: [PATCH] Redirect the user to ACP reauthentication instead of frontend after logout --- wcfsetup/install/files/lib/acp/action/LogoutAction.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/action/LogoutAction.class.php b/wcfsetup/install/files/lib/acp/action/LogoutAction.class.php index 4c32092926..bdf93d78b1 100755 --- a/wcfsetup/install/files/lib/acp/action/LogoutAction.class.php +++ b/wcfsetup/install/files/lib/acp/action/LogoutAction.class.php @@ -34,9 +34,7 @@ class LogoutAction extends AbstractSecureAction $this->executed(); - HeaderUtil::redirect(LinkHandler::getInstance()->getLink(null, [ - 'forceFrontend' => true, - ])); + HeaderUtil::redirect(LinkHandler::getInstance()->getLink()); exit; } -- 2.20.1