Przeglądaj źródła

fix passwords not being detected as same

Henry Jameson 2 lat temu
rodzic
commit
a1e7e7782f
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/components/registration/registration.vue

+ 2 - 2
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>