mirror of https://github.com/zulip/zulip.git
2ce2024bd7
Fixes #13130. django_auth_ldap doesn't give any other way of detecting that LDAPError happened other than catching the signal it emits - so we have to register a receiver. In the receiver we just raise our own Exception which will properly propagate without being silenced by django_auth_ldap. This will stop execution before the user gets deactivated. |
||
---|---|---|
.. | ||
jinja2 | ||
__init__.py | ||
backends.py | ||
dev_settings.py | ||
dev_urls.py | ||
email_backends.py | ||
legacy_urls.py | ||
prod_settings_template.py | ||
settings.py | ||
slack_importer_test_settings.py | ||
terms.md.template | ||
test_settings.py | ||
urls.py | ||
wsgi.py |