zulip/zerver
Tim Abbott d364891894 ldap: Fix password prompt when configured only to populate data.
Previously, the logic for determining whether to provide an LDAP
password prompt on the registration page was incorrectly including it
if any LDAP authentication was backend enabled, even if LDAP was
configured with the populate-only backend that is not responsible for
authentication (just for filling in name and custom profile fields).

We fix this by correcting the conditional, and add a test.

There's still follow-up work to do here: We may still end up
presenting a registration form in situations where it's useless
because we got all the data from SAML + LDAP.  But that's for a future
issue.

This fixes a bug reported in #13275.
2019-10-17 14:46:46 -07:00
..
data_import mattermost: Add support for exporting DMs and huddles. 2019-10-10 16:37:03 -07:00
lib tests: Clean up and extend topic links tests in test_messages. 2019-10-16 17:39:09 -07:00
management models: Migration of Message.pub_date to date_sent, part 2. 2019-10-05 19:01:34 -07:00
migrations auth: Add initial SAML authentication support. 2019-10-10 15:44:34 -07:00
openapi docs: Make delete-queue use curl example system. 2019-10-15 15:53:03 -07:00
templatetags openapi: Pass api_url to curl example generation. 2019-08-17 11:35:08 -07:00
tests ldap: Fix password prompt when configured only to populate data. 2019-10-17 14:46:46 -07:00
tornado messages: Add email/push notifications for wildcard mentions. 2019-08-26 14:39:53 -07:00
views ldap: Fix password prompt when configured only to populate data. 2019-10-17 14:46:46 -07:00
webhooks integrations: Advertise our native Zapier integration. 2019-09-22 18:47:42 -07:00
worker lint: Remove some unused imports. 2019-10-10 18:06:30 -07:00
__init__.py
apps.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
context_processors.py auth: Rename any_oauth_backend_enabled to any_social_backend_enabled. 2019-09-19 12:35:27 -07:00
decorator.py zulip_otp_required: Avoid _user_is_authenticated compatibility shim. 2019-09-23 11:56:52 -07:00
filters.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
forms.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
logging_handlers.py zerver: Accept HEAD requests wherever GET requests are accepted. 2019-08-12 16:47:41 -07:00
middleware.py middleware: Fix exception typing. 2019-07-31 12:23:20 -07:00
models.py auth: Add initial SAML authentication support. 2019-10-10 15:44:34 -07:00
signals.py zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00