From db258255a50796b3e18aa837babc243a9ce5a0d5 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 9 May 2013 20:17:21 +0200 Subject: [PATCH] Added ACP login redirect --- wcfsetup/install/files/lib/system/WCFACP.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/WCFACP.class.php b/wcfsetup/install/files/lib/system/WCFACP.class.php index 5ad35c2f95..600636e436 100644 --- a/wcfsetup/install/files/lib/system/WCFACP.class.php +++ b/wcfsetup/install/files/lib/system/WCFACP.class.php @@ -65,7 +65,7 @@ class WCFACP extends WCF { if (WCF::getUser()->userID == 0) { // build redirect path $application = ApplicationHandler::getInstance()->getActiveApplication(); - $path = $application->getPageURL() . 'acp/index.php/Login/' . SID_ARG_1ST; + $path = $application->getPageURL() . 'acp/index.php/Login/' . SID_ARG_1ST . '&url=' . rawurlencode(WCF::getSession()->requestURI); HeaderUtil::redirect($path); exit; -- 2.20.1