fix mfa regression
This commit is contained in:
parent
6fdce88e4f
commit
94a284dd95
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ const LoginForm = {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
if (error.errorData?.error === 'mfa_required') {
|
if (error.errorData === 'mfa_required') {
|
||||||
this.requireMFA({ settings: error })
|
this.requireMFA({ settings: error })
|
||||||
} else if (error.identifier === 'password_reset_required') {
|
} else if (error.identifier === 'password_reset_required') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue