diff options
Diffstat (limited to 'src/views/Login/Login.vue')
-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 4d523de6..dd0a415b 100644 --- a/src/views/Login/Login.vue +++ b/src/views/Login/Login.vue @@ -117,7 +117,7 @@ export default { const username = this.userInfo.username; const password = this.userInfo.password; this.$store - .dispatch('authentication/login', [username, password]) + .dispatch('authentication/login', { username, password }) .then(() => { localStorage.setItem('storedLanguage', i18n.locale); localStorage.setItem('storedUsername', username); |