From cc246fa2d4c8996aa575fa2744c15db1d0bcd564 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 15 Oct 2012 04:01:21 +0200 Subject: [PATCH] Fixed ACP master password Fixes #725 --- wcfsetup/install/files/lib/system/WCFACP.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/system/WCFACP.class.php b/wcfsetup/install/files/lib/system/WCFACP.class.php index c09eb4ba22..83d6d703a1 100644 --- a/wcfsetup/install/files/lib/system/WCFACP.class.php +++ b/wcfsetup/install/files/lib/system/WCFACP.class.php @@ -203,11 +203,13 @@ class WCFACP extends WCF { require_once(WCF_DIR.'acp/masterPassword.inc.php'); } if (defined('MASTER_PASSWORD') && defined('MASTER_PASSWORD_SALT')) { - new \wcf\acp\form\MasterPasswordForm(); + $form = new \wcf\acp\form\MasterPasswordForm(); + $form->__run(); exit; } else { - new \wcf\acp\form\MasterPasswordInitForm(); + $form = new \wcf\acp\form\MasterPasswordInitForm(); + $form->__run(); exit; } } -- 2.20.1