Merge branch 'master' into meta-psr-7
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 10 Aug 2021 14:08:56 +0000 (16:08 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 10 Aug 2021 14:08:56 +0000 (16:08 +0200)
1  2 
wcfsetup/install/files/lib/acp/action/LogoutAction.class.php

index c5386cd5163cfbe308a3d167d867e1a683304e4a,8775d509ed25dc19e24f7e669031f6934fedc885..3bc2dcb9518970a2805aac84b4265a8d1f565265
@@@ -33,10 -33,8 +33,8 @@@ class LogoutAction extends AbstractSecu
  
          $this->executed();
  
 -        HeaderUtil::redirect(LinkHandler::getInstance()->getLink());
 -
 -        exit;
 +        return new RedirectResponse(
-             LinkHandler::getInstance()->getLink(null, [
-                 'forceFrontend' => true,
-             ])
++            LinkHandler::getInstance()->getLink()
 +        );
      }
  }