diff options
Diffstat (limited to 'src/views')
-rw-r--r-- | src/views/Login/Login.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue index f122d289..7914ea62 100644 --- a/src/views/Login/Login.vue +++ b/src/views/Login/Login.vue @@ -59,7 +59,7 @@ export default { const username = this.username; const password = this.password; this.$store - .dispatch("authentication/login", { username, password }) + .dispatch("authentication/login", [username, password]) .then(() => this.$router.push("/")) .catch(error => console.log(error)); } |