make username required if not radius/ldap

This commit is contained in:
Jared Tabor 2016-06-29 13:11:50 -07:00
parent 4770bc7f8b
commit d6f644bc71

View File

@ -46,7 +46,7 @@ export default
label: 'Username',
type: 'text',
awRequiredWhen: {
reqExpression: "not_ldap_user && !external_account",
reqExpression: "not_ldap_user && external_account === null",
init: true
},
autocomplete: false