From fb437245175b0543114cd2ad929ad4e52a6dead4 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 21 Mar 2024 16:31:55 +0100 Subject: [PATCH] Fix status code --- .../files/lib/http/middleware/CheckForForceLogin.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/http/middleware/CheckForForceLogin.class.php b/wcfsetup/install/files/lib/http/middleware/CheckForForceLogin.class.php index 04d1505935..f5c8d65684 100644 --- a/wcfsetup/install/files/lib/http/middleware/CheckForForceLogin.class.php +++ b/wcfsetup/install/files/lib/http/middleware/CheckForForceLogin.class.php @@ -25,7 +25,7 @@ use wcf\util\HeaderUtil; */ final class CheckForForceLogin implements MiddlewareInterface { - private const STATUS_CODE = 503; + private const STATUS_CODE = 403; private const ALLOWED_CONTROLLERS = [ \wcf\form\EmailActivationForm::class, -- 2.20.1