Fix the cookie refresh after WCFSetup
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 25 Jan 2021 18:13:46 +0000 (19:13 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 25 Jan 2021 18:13:46 +0000 (19:13 +0100)
We need to set user_session, as acp_session is gone.

wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php

index 88f2151476f6e96745f0f9b8afddda76590e603b..508c588cc8d0b1b048f158009cdf02fb19842e29 100644 (file)
@@ -247,7 +247,7 @@ class PackageInstallationDispatcher
                     ]);
                     \define('SIGNATURE_SECRET', $signatureSecret);
                     HeaderUtil::setCookie(
-                        'acp_session',
+                        'user_session',
                         // We do not use the cache-timing safe class Hex, because we run the
                         // function during the setup.
                         CryptoUtil::createSignedString(