This commit is contained in:
Matej Glasnák committed 2023-01-19 12:22:57 +01:00
1 parent ae33df38e4
commit 012a9ec926
5 files changed
+10 -4

No files matched your search

@@ -41,7 +41,7 @@ export default {
if (!(await this.v$.$validate())) return console.log(this.v$)
try {
await this.$axios.post_data('v1/auth/login', this.form)
await this.$store.dispatch('auth/login', this.form)
this.$router.push({ name: 'Overview - Ongoing tasks'})
} catch (error) {
this.$toast.error(error)