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

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#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
1 changed files with 0 additions and 2 deletions

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
}