mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
Allow non-FQDN for AUTH_LDAP_SERVER_URI.
This commit is contained in:
parent
0579db1162
commit
0f8e073d10
@ -109,6 +109,7 @@ class LDAPServerURIField(fields.URLField):
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
kwargs.setdefault('schemes', ('ldap', 'ldaps'))
|
||||
kwargs.setdefault('allow_plain_hostname', True)
|
||||
super(LDAPServerURIField, self).__init__(**kwargs)
|
||||
|
||||
def run_validators(self, value):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user