chore: remove setting loading state in register component (#939)

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/939
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
This commit is contained in:
konrad 2021-11-02 18:53:45 +00:00
parent e831c3eb65
commit b34213c301

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
}