Don't redirect after login.
This commit is contained in:
parent
d954db0221
commit
ccbfc64bfc
@ -7,9 +7,7 @@ const LoginForm = {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
submit () {
|
submit () {
|
||||||
this.$store.dispatch('loginUser', this.user).then(() => {
|
this.$store.dispatch('loginUser', this.user)
|
||||||
this.$router.push('/main/friends')
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user