mirror of https://github.com/zulip/zulip.git
home.py: Fix bug associated with email_changes_disabled.
On reloading the page after disabling email changes does not check the "Prevent users from changing their email address". Adding realm_email_changes_disabled to page_params_core_fields fixes the problem.
This commit is contained in:
parent
c921736db2
commit
dc48b87765
|
@ -99,6 +99,7 @@ class HomeTest(ZulipTestCase):
|
|||
"realm_create_stream_by_admins_only",
|
||||
"realm_default_language",
|
||||
"realm_default_streams",
|
||||
"realm_email_changes_disabled",
|
||||
"realm_emoji",
|
||||
"realm_filters",
|
||||
"realm_icon_source",
|
||||
|
|
|
@ -294,6 +294,7 @@ def home_real(request):
|
|||
'realm_create_stream_by_admins_only',
|
||||
'realm_default_language',
|
||||
'realm_default_streams',
|
||||
'realm_email_changes_disabled',
|
||||
'realm_emoji',
|
||||
'realm_icon_source',
|
||||
'realm_icon_url',
|
||||
|
|
Loading…
Reference in New Issue