|
|
@ -181,7 +181,7 @@ export default { |
|
|
|
Cookies.set('rememberMe', this.loginForm.rememberMe, { expires: 30 }); |
|
|
|
|
|
|
|
this.$store.dispatch("Login", this.loginForm).then(() => { |
|
|
|
this.$router.push({ path: this.redirect}).catch(() => { }); |
|
|
|
this.$router.push({ path: this.redirect || "/" }).catch(() => { }); |
|
|
|
}).catch(() => { |
|
|
|
// if (this.captchaEnabled) { |
|
|
|
// this.loading = false; |
|
|
|