commit: a1e7e7782f6961cf0f9d08b787952b07a03ba1d3
parent 045a222183ac47b48e14e1639e7107aa0bffb015
Author: Henry Jameson <me@hjkos.com>
Date: Wed, 21 Dec 2022 22:41:17 +0200
fix passwords not being detected as same
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/registration/registration.vue b/src/components/registration/registration.vue
@@ -158,10 +158,10 @@
class="form-error"
>
<ul>
- <li v-if="!v$.user.confirm.required">
+ <li v-if="v$.user.confirm.required.$invalid">
<span>{{ $t('registration.validations.password_confirmation_required') }}</span>
</li>
- <li v-if="!v$.user.confirm.sameAsPassword">
+ <li v-if="v$.user.confirm.sameAs.$invalid">
<span>{{ $t('registration.validations.password_confirmation_match') }}</span>
</li>
</ul>