Redirect the user to ACP reauthentication instead of frontend after logout
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 6 Aug 2021 11:43:36 +0000 (13:43 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 6 Aug 2021 11:43:36 +0000 (13:43 +0200)
wcfsetup/install/files/lib/acp/action/LogoutAction.class.php

index 4c32092926055fac48dc8791c24ad7e81821aa31..bdf93d78b1ca1b8cfe022cf46f552c65f050c71e 100755 (executable)
@@ -34,9 +34,7 @@ class LogoutAction extends AbstractSecureAction
 
         $this->executed();
 
-        HeaderUtil::redirect(LinkHandler::getInstance()->getLink(null, [
-            'forceFrontend' => true,
-        ]));
+        HeaderUtil::redirect(LinkHandler::getInstance()->getLink());
 
         exit;
     }