mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 15:33:30 +00:00
org settings: Handle NEW_USER_BOT not being set.
If NEW_USER_BOT is not configured in organization, then disable setting for selecting stream for new user notification.
This commit is contained in:
@@ -173,6 +173,7 @@ def home_real(request: HttpRequest) -> HttpResponse:
|
||||
# These end up in a global JavaScript Object named 'page_params'.
|
||||
page_params = dict(
|
||||
# Server settings.
|
||||
new_user_bot_configured = settings.NEW_USER_BOT is not None,
|
||||
development_environment = settings.DEVELOPMENT,
|
||||
debug_mode = settings.DEBUG,
|
||||
test_suite = settings.TEST_SUITE,
|
||||
|
||||
Reference in New Issue
Block a user