mirror of
https://github.com/ansible/awx.git
synced 2026-04-10 04:29:21 -02:30
make username required if not radius/ldap
This commit is contained in:
@@ -46,7 +46,7 @@ export default
|
|||||||
label: 'Username',
|
label: 'Username',
|
||||||
type: 'text',
|
type: 'text',
|
||||||
awRequiredWhen: {
|
awRequiredWhen: {
|
||||||
reqExpression: "not_ldap_user && !external_account",
|
reqExpression: "not_ldap_user && external_account === null",
|
||||||
init: true
|
init: true
|
||||||
},
|
},
|
||||||
autocomplete: false
|
autocomplete: false
|
||||||
|
|||||||
Reference in New Issue
Block a user