Fixed issue benno discovered where non-privileged user could not change password.

This commit is contained in:
chouseknecht
2013-09-11 13:33:23 -04:00
parent c4f8872ae4
commit 5308278aa4
3 changed files with 20 additions and 7 deletions

View File

@@ -48,7 +48,7 @@ angular.module('UserFormDefinition', [])
sourceField: 'name',
ngClick: 'lookUpOrganization()',
excludeMode: 'edit',
awRequiredWhen: { variable: "orgrequired", init: true}
awRequiredWhen: { variable: "orgrequired", init: true }
},
username: {
label: 'Username',
@@ -65,7 +65,7 @@ angular.module('UserFormDefinition', [])
label: 'Password',
type: 'password',
ngShow: 'ldap_user == false',
awRequiredWhen: { variable: "not_ldap_user", init: true},
awRequiredWhen: { variable: "not_ldap_user", init: true },
ngChange: "clearPWConfirm('password_confirm')",
autocomplete: false,
chkPass: true