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:
parent
ba4f7ef3ef
commit
08297ea83e
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ const LoginForm = {
|
||||||
methods: {
|
methods: {
|
||||||
submit () {
|
submit () {
|
||||||
this.$store.dispatch('loginUser', this.user).then(
|
this.$store.dispatch('loginUser', this.user).then(
|
||||||
() => { this.$router.push('/main/friends')},
|
() => {},
|
||||||
(error) => {
|
(error) => {
|
||||||
this.authError = error
|
this.authError = error
|
||||||
this.user.username = ''
|
this.user.username = ''
|
||||||
|
|
Loading…
Reference in a new issue