mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 14:38:00 -03:30
Merge pull request #549 from cchurch/allow-non-fqdn-for-ldap-server-uri
Allow non-FQDN for AUTH_LDAP_SERVER_URI.
This commit is contained in:
commit
b70f7bd866
@ -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