Don't redirect after login.

environments/dev/deployments/1
Roger Braun 8 years ago
parent d954db0221
commit ccbfc64bfc

@ -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…
Cancel
Save