Remove redirect on login

This is to enable this workflow:

1. Open conversation in new tab
2. Login
3. Interact with the conversation

We can add this again once we have persistent logins.
This commit is contained in:
Roger Braun 2017-03-09 08:51:33 +01:00
parent ba4f7ef3ef
commit 08297ea83e

View file

@ -9,7 +9,7 @@ const LoginForm = {
methods: {
submit () {
this.$store.dispatch('loginUser', this.user).then(
() => { this.$router.push('/main/friends')},
() => {},
(error) => {
this.authError = error
this.user.username = ''