Don't redirect after login.

This commit is contained in:
Roger Braun 2017-03-08 16:54:06 +01:00
parent d954db0221
commit ccbfc64bfc

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