diff --git a/src/components/Login.vue b/src/components/Login.vue index ca36fdb9f..8a20fbdbc 100644 --- a/src/components/Login.vue +++ b/src/components/Login.vue @@ -52,7 +52,7 @@ export default { token: "", res: null, tokenRequired: false, - } + }; }, methods: { submit() { @@ -60,21 +60,20 @@ export default { this.$root.login(this.username, this.password, this.token, (res) => { this.processing = false; - console.log(res) + console.log(res); if (res.tokenRequired) { this.tokenRequired = true; } else { this.res = res; } - }) + }); }, }, -} +}; -