Skip to content

Commit a181276

Browse files
Merge pull request #55021 from nextcloud/backport/55013/stable30
[stable30] fix(auth): allow access to dynamic js files during 2FA
2 parents 801b482 + 8ff78f8 commit a181276

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/Controller/JsController.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public function __construct(
4242

4343
/**
4444
* @NoSameSiteCookieRequired
45+
* @NoTwoFactorRequired
4546
*
4647
* @param string $fileName js filename with extension
4748
* @param string $appName js folder name
@@ -75,6 +76,8 @@ public function getJs(string $fileName, string $appName): Response {
7576
}
7677

7778
/**
79+
* @NoTwoFactorRequired
80+
*
7881
* @param ISimpleFolder $folder
7982
* @param string $fileName
8083
* @param bool $gzip is set to true if we use the gzip file

0 commit comments

Comments
 (0)