Skip to content

Commit 8a1471d

Browse files
authored
Merge pull request #55013 from nextcloud/fix/dynamic-js-during-2fa
fix(auth): allow access to dynamic js files during 2FA
2 parents d1314bf + 1c8be52 commit 8a1471d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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)