From 4b5f3b084ef062b48eaba18b3f497ba89743ddcd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 25 Jan 2021 19:13:14 +0100 Subject: [PATCH] Move the call to registerReauthentication() to WCFSetup This was forgotten in the previous commit. --- wcfsetup/install/files/lib/system/WCFSetup.class.php | 1 + .../lib/system/package/PackageInstallationDispatcher.class.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/WCFSetup.class.php b/wcfsetup/install/files/lib/system/WCFSetup.class.php index 7691b9e98f..da7b44c164 100644 --- a/wcfsetup/install/files/lib/system/WCFSetup.class.php +++ b/wcfsetup/install/files/lib/system/WCFSetup.class.php @@ -1415,6 +1415,7 @@ class WCFSetup extends WCF SessionHandler::getInstance()->register('__wcfSetup_developerMode', self::$developerMode); SessionHandler::getInstance()->register('__wcfSetup_directories', self::$directories); SessionHandler::getInstance()->register('__wcfSetup_imagick', ImagickImageAdapter::isSupported()); + SessioNHandler::getInstance()->registerReauthentication(); SessionHandler::getInstance()->update(); // print page diff --git a/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php b/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php index a347e82c96..88f2151476 100644 --- a/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php @@ -259,7 +259,6 @@ class PackageInstallationDispatcher ) ) ); - WCF::getSession()->registerReauthentication(); if (WCF::getSession()->getVar('__wcfSetup_developerMode')) { $statement->execute([ -- 2.20.1