From 799bb24931f97be849eea48c6497adcd239e287c Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Tue, 16 Apr 2013 15:25:15 +0200 Subject: Builder and registry for validators https://fedorahosted.org/freeipa/ticket/3235 --- install/ui/src/freeipa/user.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'install/ui/src/freeipa/user.js') 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 } ] -- cgit