forked from AkkomaGang/akkoma-fe
Don't redirect after login.
This commit is contained in:
parent
d954db0221
commit
ccbfc64bfc
1 changed files with 1 additions and 3 deletions
|
@ -7,9 +7,7 @@ const LoginForm = {
|
|||
},
|
||||
methods: {
|
||||
submit () {
|
||||
this.$store.dispatch('loginUser', this.user).then(() => {
|
||||
this.$router.push('/main/friends')
|
||||
})
|
||||
this.$store.dispatch('loginUser', this.user)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue