scragg0x / realms-wiki

Git based wiki inspired by Gollum
http://realms.io
GNU General Public License v2.0
833 stars 91 forks source link

LDAPStartTLSError is in core.exceptions #215

Open larsimmisch opened 6 years ago

larsimmisch commented 6 years ago

Small bugfix.

larsimmisch commented 6 years ago

Ah, I should have mentioned that this is a minor bug.

If LDAP.START_TLS is true, but TLS is not available, an exception will be thrown trying to catch that exception, which results in a 5xx error.