1
0
mirror of https://git.pleroma.social/sjw/pleroma-fe.git synced 2024-12-25 17:55:18 +01:00

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 = ''