fix another mfa regression

This commit is contained in:
Moon.eth 2026-07-24 14:26:25 +09:00
commit de680501a5
2 changed files with 2 additions and 2 deletions

View file

@ -64,7 +64,7 @@ const LoginForm = {
})
.catch((error) => {
if (error.errorData === 'mfa_required') {
this.requireMFA({ settings: error })
this.requireMFA({ settings: error.error })
} else if (error.identifier === 'password_reset_required') {
this.$router.push({
name: 'password-reset',

View file

@ -44,7 +44,7 @@ export default {
}
verifyRecoveryCode(data)
.then((result) => {
.then(({ data: result }) => {
this.login(result).then(() => {
this.$router.push({ name: 'friends' })
})