AC-435 latest LDAP changes for UI.

This commit is contained in:
chouseknecht
2013-09-10 23:42:07 -04:00
parent 7246ab2674
commit 695a2da790
5 changed files with 101 additions and 54 deletions

View File

@@ -56,7 +56,7 @@ angular.module('UserFormDefinition', [])
awRequiredWhen: { variable: "not_ldap_user", init: true },
autocomplete: false
},
ldap_dn: {
ldap_user: {
label: 'Created by LDAP?',
type: 'checkbox',
readonly: true
@@ -64,7 +64,7 @@ angular.module('UserFormDefinition', [])
password: {
label: 'Password',
type: 'password',
ngShow: 'not_ldap_user == true',
ngShow: 'ldap_user == false',
awRequiredWhen: { variable: "not_ldap_user", init: true},
ngChange: "clearPWConfirm('password_confirm')",
autocomplete: false,
@@ -73,7 +73,7 @@ angular.module('UserFormDefinition', [])
password_confirm: {
label: 'Confirm Password',
type: 'password',
ngShow: 'not_ldap_user == true',
ngShow: 'ldap_user == false',
addRequired: false,
editRequired: false,
awPassMatch: true,