mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
settings: Fix whitespace in new LDAP settings code.
This commit is contained in:
@@ -1391,7 +1391,7 @@ if REGISTER_LINK_DISABLED is None:
|
||||
# complicated: we want it to be disabled by default for people
|
||||
# using the LDAP backend that auto-creates users on login.
|
||||
if (len(AUTHENTICATION_BACKENDS) == 2 and
|
||||
('zproject.backends.ZulipLDAPAuthBackend' in AUTHENTICATION_BACKENDS)):
|
||||
('zproject.backends.ZulipLDAPAuthBackend' in AUTHENTICATION_BACKENDS)):
|
||||
REGISTER_LINK_DISABLED = True
|
||||
else:
|
||||
REGISTER_LINK_DISABLED = False
|
||||
|
||||
Reference in New Issue
Block a user