add 2fa bypass

This commit is contained in:
padreug 2025-10-28 18:47:18 +01:00
parent 8c5f78c50f
commit 9762a935cb
3 changed files with 20 additions and 4 deletions

View file

@ -83,6 +83,11 @@ const LoginState = ({ dispatch, strategy }) => {
if (!loginResponse.login) return
// Handle SKIP2FA case - directly get user data and navigate
if (loginResponse.login === 'SKIP2FA') {
return getUserData()
}
return dispatch({
type: loginResponse.login,
payload: {