1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-23 01:22:30 +01:00

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);