From: Marcel Werk Date: Thu, 21 Mar 2024 15:47:06 +0000 (+0100) Subject: Add exceptions for some actions X-Git-Tag: 6.1.0_Alpha_1~143^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6c281f8fd462a9c8b597ed4ab3fe84dd61d0393d;p=GitHub%2FWoltLab%2FWCF.git Add exceptions for some actions These actions are required for registration or general tasks. --- diff --git a/wcfsetup/install/files/lib/http/middleware/CheckForForceLogin.class.php b/wcfsetup/install/files/lib/http/middleware/CheckForForceLogin.class.php index f5c8d65684..acab872256 100644 --- a/wcfsetup/install/files/lib/http/middleware/CheckForForceLogin.class.php +++ b/wcfsetup/install/files/lib/http/middleware/CheckForForceLogin.class.php @@ -28,6 +28,11 @@ final class CheckForForceLogin implements MiddlewareInterface private const STATUS_CODE = 403; private const ALLOWED_CONTROLLERS = [ + \wcf\action\BackgroundQueuePerformAction::class, + \wcf\action\CronjobPerformAction::class, + \wcf\action\EmailValidationAction::class, + \wcf\action\PaypalCallbackAction::class, + \wcf\action\UsernameValidationAction::class, \wcf\form\EmailActivationForm::class, \wcf\form\EmailNewActivationCodeForm::class, \wcf\form\LoginForm::class,