We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ae43e1 commit 8b9c246Copy full SHA for 8b9c246
resources/assets/scripts/components/auth/LoginForm.vue
@@ -62,7 +62,6 @@
62
},
63
data: function () {
64
return {
65
- errors: [],
66
showSpinner: false,
67
}
68
@@ -91,7 +90,7 @@
91
90
this.$props.user.password = '';
92
this.$data.showSpinner = false;
93
this.$refs.password.focus();
94
- this.$store.dispatch('auth/logout');
+ this.$store.commit('auth/logout');
95
96
if (!err.response) {
97
return console.error(err);
0 commit comments