aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-03-09 08:51:33 +0100
committerRoger Braun <roger@rogerbraun.net>2017-03-09 08:51:33 +0100
commit08297ea83e91418293c09e265bc87ae77d867d2a (patch)
tree722897e8eaa82353947c0f455646fa1a5904cd76
parentba4f7ef3efe15aaebce523113283b5854d16ceb8 (diff)
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.
-rw-r--r--src/components/login_form/login_form.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/login_form/login_form.js b/src/components/login_form/login_form.js
index bc801397..1a6f6015 100644
--- a/src/components/login_form/login_form.js
+++ b/src/components/login_form/login_form.js
@@ -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 = ''