This commit is contained in:
Edwin Betancourt 2021-02-06 19:23:04 -04:00 committed by GitHub
commit 64e0a60aa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -159,9 +159,8 @@ export default {
this.$store.dispatch('user/login', this.loginForm)
.then(() => {
this.$router.push({ path: this.redirect || '/', query: this.otherQuery })
this.loading = false
})
.catch(() => {
.finally(() => {
this.loading = false
})
} else {