Don't redirect after login.

This commit is contained in:
Roger Braun 2017-03-08 16:54:06 +01:00
parent d954db0221
commit ccbfc64bfc
1 changed files with 1 additions and 3 deletions

View File

@ -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)
}
}
}