page_params: Pass through settings.WARN_NO_EMAIL, as `warn_no_email`.

[greg: fixed test]
This commit is contained in:
Brock Whittaker 2018-01-26 13:09:38 -08:00 committed by Greg Price
parent 64cb05be67
commit f485abf522
2 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,7 @@ class HomeTest(ZulipTestCase):
"unsubscribed",
"use_websockets",
"user_id",
"warn_no_email",
"zulip_version",
]

View File

@ -185,6 +185,7 @@ def home_real(request: HttpRequest) -> HttpResponse:
server_generation = settings.SERVER_GENERATION,
use_websockets = settings.USE_WEBSOCKETS,
save_stacktraces = settings.SAVE_FRONTEND_STACKTRACES,
warn_no_email = settings.WARN_NO_EMAIL,
server_inline_image_preview = settings.INLINE_IMAGE_PREVIEW,
server_inline_url_embed_preview = settings.INLINE_URL_EMBED_PREVIEW,
password_min_length = settings.PASSWORD_MIN_LENGTH,