summaryrefslogtreecommitdiff
path: root/src/views/Login
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/Login')
-rw-r--r--src/views/Login/Login.vue2
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));
}