mirror of
https://github.com/nextcloud/server.git
synced 2026-06-26 00:55:54 -04:00
fix: generate csrf tokens if two factor challenge is ongoing
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
parent
5f9b0cb477
commit
20259a3dc8
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ class CSRFTokenController extends Controller {
|
|||
* @NoAdminRequired
|
||||
* @NoCSRFRequired
|
||||
* @PublicPage
|
||||
* @NoTwoFactorRequired
|
||||
*/
|
||||
#[FrontpageRoute(verb: 'GET', url: '/csrftoken')]
|
||||
public function index(): JSONResponse {
|
||||
|
|
|
|||
Loading…
Reference in a new issue