fix: generate csrf tokens if two factor challenge is ongoing

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
pull/53645/head
Richard Steinmetz 2025-06-17 21:41:09 +07:00 committed by backportbot[bot]
parent af539176c0
commit b2bc8c389a
1 changed files with 2 additions and 0 deletions

@ -33,6 +33,8 @@ class CSRFTokenController extends Controller {
*
* 200: CSRF token returned
* 403: Strict cookie check failed
*
* @NoTwoFactorRequired
*/
#[PublicPage]
#[NoCSRFRequired]