make username required if not radius/ldap

This commit is contained in:
Jared Tabor 2016-06-29 13:11:50 -07:00 committed by John Mitchell
parent 8ef59091ac
commit 4f563a4313

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