Explorar o código

Merge branch 'fix-passwords-same' into 'develop'

fix passwords not being detected as same

Closes #1228

See merge request pleroma/pleroma-fe!1706
HJ %!s(int64=2) %!d(string=hai) anos
pai
achega
830b0008a2
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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>