rules fix

This commit is contained in:
ogerly 2021-06-15 12:39:47 +02:00
parent 37ffb1fc59
commit 280aa8e1f1

View File

@ -94,19 +94,13 @@
<b-col></b-col>
<b-col>
<transition name="hint" appear>
<div v-if="passwordValidation.errors.length > 0 && !submitted" class="hints">
<div v-if="passwordValidation.errors.length > 0" class="hints">
<ul>
<li v-for="error in passwordValidation.errors" :key="error">
<small>{{ error }}</small>
</li>
</ul>
</div>
<div class="matches" v-else-if="!samePasswords">
<p>
{{ $t('site.signup.dont_match') }}
<i class="ni ni-active-40" color="danger"></i>
</p>
</div>
</transition>
</b-col>
</b-row>
@ -147,6 +141,7 @@ export default {
passwordVisibleNewPwd: false,
passwordVisibleNewPwdRepeat: false,
loading: true,
}
},
methods: {