mfa: removed unused code
This commit is contained in:
parent
f70fe28f64
commit
addacf36d1
3 changed files with 2 additions and 9 deletions
|
@ -58,7 +58,7 @@ const LoginForm = {
|
|||
).then((result) => {
|
||||
if (result.error) {
|
||||
if (result.error === 'mfa_required') {
|
||||
this.requireMFA({ app: app, settings: result })
|
||||
this.requireMFA({ settings: result })
|
||||
} else if (result.identifier === 'password_reset_required') {
|
||||
this.$router.push({ name: 'password-reset', params: { passwordResetRequested: true } })
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue