mirror of
https://github.com/zulip/zulip.git
synced 2025-11-19 14:08:23 +00:00
events: Change format of authentication_methods realm_update_dict event.
Makes the event in line with state_data.realm_authentication_methods.
This commit is contained in:
committed by
Tim Abbott
parent
da9e4e6e54
commit
1ede8da46c
@@ -326,11 +326,16 @@ def do_set_realm_authentication_methods(
|
||||
},
|
||||
)
|
||||
|
||||
event_data = dict(
|
||||
authentication_methods=get_realm_authentication_methods_for_page_params_api(
|
||||
realm, updated_value
|
||||
)
|
||||
)
|
||||
event = dict(
|
||||
type="realm",
|
||||
op="update_dict",
|
||||
property="default",
|
||||
data=dict(authentication_methods=updated_value),
|
||||
data=event_data,
|
||||
)
|
||||
send_event(realm, event, active_user_ids(realm.id))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user