AC-756 Removed required on password field when in 'edit' mode. When editing an existing user all fields can now be changed without re-entering a password. However, if the password field is touched, then a strong password is required and a valid match must be supplied. Fixed the Reset button. Now if changing existing record, touch password, click reset, and all password, password match, and the strength progress bar are all reset.

This commit is contained in:
chris Houseknecht
2014-01-15 23:10:36 -05:00
parent 14acf18f47
commit a90de488e1
4 changed files with 23 additions and 16 deletions

View File

@@ -70,7 +70,8 @@ angular.module('UserFormDefinition', [])
label: 'Password',
type: 'password',
ngShow: 'ldap_user == false',
awRequiredWhen: { variable: "not_ldap_user", init: true },
addRequired: true,
editRequired: false,
ngChange: "clearPWConfirm('password_confirm')",
autocomplete: false,
chkPass: true