mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(auth): allow access to dynamic js files during 2FA
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
801b48288c
commit
8ff78f8c8c
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Reference in a new issue