Correct behavior of errors on the login form

This commit is contained in:
Dane Everitt 2018-07-14 21:26:08 -07:00
parent 2ae43e1f61
commit 8b9c2465f3
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -62,7 +62,6 @@
},
data: function () {
return {
errors: [],
showSpinner: false,
}
},
@ -91,7 +90,7 @@
this.$props.user.password = '';
this.$data.showSpinner = false;
this.$refs.password.focus();
this.$store.dispatch('auth/logout');
this.$store.commit('auth/logout');
if (!err.response) {
return console.error(err);