diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-04-16 15:25:15 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-05-06 16:22:27 +0200 |
commit | 799bb24931f97be849eea48c6497adcd239e287c (patch) | |
tree | 54c2e13c5a6954e45752f94a04747bf88b582406 /install/ui/src/freeipa/user.js | |
parent | 511452ec41d7427fd284233ac39a50072d0ece55 (diff) | |
download | freeipa-799bb24931f97be849eea48c6497adcd239e287c.tar.gz freeipa-799bb24931f97be849eea48c6497adcd239e287c.tar.xz freeipa-799bb24931f97be849eea48c6497adcd239e287c.zip |
Builder and registry for validators
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/src/freeipa/user.js')
-rw-r--r-- | install/ui/src/freeipa/user.js | 5 |
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 } ] |