mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 18:50:04 -03:30
Allow non-FQDN for AUTH_LDAP_SERVER_URI.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user