summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/user.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/src/freeipa/user.js')
-rw-r--r--install/ui/src/freeipa/user.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/install/ui/src/freeipa/user.js b/install/ui/src/freeipa/user.js
index 6d9c0c2d1..04e589b77 100644
--- a/install/ui/src/freeipa/user.js
+++ b/install/ui/src/freeipa/user.js
@@ -509,9 +509,10 @@ IPA.user_password_dialog = function(spec) {
name: 'password2',
label: '@i18n:password.verify_password',
$type: 'password',
- validators: [IPA.same_password_validator({
+ validators: [{
+ $type: 'same_password',
other_field: 'password1'
- })],
+ }],
required: true
}
]