From 90d2f6f65909893575429cac6362887ac92f2ade Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 10 Sep 2025 15:12:35 +0200 Subject: [PATCH] fix(auth): allow access to dynamic js files during 2FA Signed-off-by: Christoph Wurst --- core/Controller/JsController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/Controller/JsController.php b/core/Controller/JsController.php index 5754c554e5046..bb40a4f21170a 100644 --- a/core/Controller/JsController.php +++ b/core/Controller/JsController.php @@ -42,6 +42,7 @@ public function __construct( /** * @NoSameSiteCookieRequired + * @NoTwoFactorRequired * * @param string $fileName js filename with extension * @param string $appName js folder name @@ -75,6 +76,8 @@ public function getJs(string $fileName, string $appName): Response { } /** + * @NoTwoFactorRequired + * * @param ISimpleFolder $folder * @param string $fileName * @param bool $gzip is set to true if we use the gzip file