chore: remove setting loading state in register component #939

Merged
konrad merged 1 commits from fix/remove-loading-register into main 2021-11-02 18:53:46 +00:00
Showing only changes of commit 7f2cb7d6d0 - Show all commits

View File

@ -131,12 +131,10 @@ export default {
}),
methods: {
async submit() {
this.$store.commit(LOADING, true)
this.errorMessage = ''
if (this.credentials.password2 !== this.credentials.password) {
this.errorMessage = this.$t('user.auth.passwordsDontMatch')
this.$store.commit(LOADING, false)
return
}