Merge pull request #55013 from nextcloud/fix/dynamic-js-during-2fa

fix(auth): allow access to dynamic js files during 2FA
This commit is contained in:
Ferdinand Thiessen 2025-09-10 23:48:26 +02:00 committed by GitHub
commit 8a1471d176
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,6 +42,7 @@ class JsController extends Controller {
/**
* @NoSameSiteCookieRequired
* @NoTwoFactorRequired
*
* @param string $fileName js filename with extension
* @param string $appName js folder name
@ -75,6 +76,8 @@ class JsController extends Controller {
}
/**
* @NoTwoFactorRequired
*
* @param ISimpleFolder $folder
* @param string $fileName
* @param bool $gzip is set to true if we use the gzip file