From a1e7e7782f6961cf0f9d08b787952b07a03ba1d3 Mon Sep 17 00:00:00 2001
From: Henry Jameson <me@hjkos.com>
Date: Wed, 21 Dec 2022 22:41:17 +0200
Subject: fix passwords not being detected as same

---
 src/components/registration/registration.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/components/registration/registration.vue')

diff --git a/src/components/registration/registration.vue b/src/components/registration/registration.vue
index d78d8da9..24d9b59b 100644
--- 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>
-- 
cgit v1.2.3-70-g09d2

