fix(auth): allow access to dynamic js files during 2FA

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/55013/head
Christoph Wurst 4 weeks ago
parent 62cbd20298
commit 1c8be525f0
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
  1. 3
      core/Controller/JsController.php

@ -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

Loading…
Cancel
Save