mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +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
|
# complicated: we want it to be disabled by default for people
|
||||||
# using the LDAP backend that auto-creates users on login.
|
# using the LDAP backend that auto-creates users on login.
|
||||||
if (len(AUTHENTICATION_BACKENDS) == 2 and
|
if (len(AUTHENTICATION_BACKENDS) == 2 and
|
||||||
('zproject.backends.ZulipLDAPAuthBackend' in AUTHENTICATION_BACKENDS)):
|
('zproject.backends.ZulipLDAPAuthBackend' in AUTHENTICATION_BACKENDS)):
|
||||||
REGISTER_LINK_DISABLED = True
|
REGISTER_LINK_DISABLED = True
|
||||||
else:
|
else:
|
||||||
REGISTER_LINK_DISABLED = False
|
REGISTER_LINK_DISABLED = False
|
||||||
|
|||||||
Reference in New Issue
Block a user