summaryrefslogtreecommitdiff
path: root/src/views/ProfileSettings/ProfileSettings.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/ProfileSettings/ProfileSettings.vue')
-rw-r--r--src/views/ProfileSettings/ProfileSettings.vue8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/views/ProfileSettings/ProfileSettings.vue b/src/views/ProfileSettings/ProfileSettings.vue
index 6fc9c1e7..561816e0 100644
--- a/src/views/ProfileSettings/ProfileSettings.vue
+++ b/src/views/ProfileSettings/ProfileSettings.vue
@@ -65,8 +65,8 @@
<b-form-invalid-feedback role="alert">
<template
v-if="
- !v$.form.newPassword.minLength ||
- !v$.form.newPassword.maxLength
+ v$.form.newPassword.minLength.$invalid ||
+ v$.form.newPassword.maxLength.$invalid
"
>
{{
@@ -95,7 +95,9 @@
@input="v$.form.confirmPassword.$touch()"
/>
<b-form-invalid-feedback role="alert">
- <template v-if="!v$.form.confirmPassword.sameAsPassword">
+ <template
+ v-if="v$.form.confirmPassword.sameAsPassword.$invalid"
+ >
{{ $t('pageProfileSettings.passwordsDoNotMatch') }}
</template>
</b-form-invalid-feedback>