Commit 0ae9e01a authored by Andrew Gozzard's avatar Andrew Gozzard

1-character change to secure ldap, just to be sure

parent 66dd6972
......@@ -29,7 +29,7 @@ def requires_auth(f):
return {'status': 'error', 'errmsg': 'Authentication failed: Invalid username'}
dn = 'uid=%s,ou=People,dc=ucc,dc=gu,dc=uwa,dc=edu,dc=au' % username
l = ldap.initialize('ldap://')
l = ldap.initialize('ldaps://')
l.simple_bind_s(dn, password)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment