mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
zoom: Avoid sending Zoom API secret to other admin clients.
Fixing this involves fixing the backend to handle unchanged field submissions of the Zoom credentials without trying to re-validate the credentials (for performance) as well as to fetch the already-sent secret.
This commit is contained in:
@@ -558,6 +558,10 @@ def do_set_realm_property(realm: Realm, name: str, value: Any) -> None:
|
||||
|
||||
setattr(realm, name, value)
|
||||
realm.save(update_fields=[name])
|
||||
|
||||
if name == 'zoom_api_secret':
|
||||
# Send '' as the value through the API for the API secret
|
||||
value = ''
|
||||
event = dict(
|
||||
type='realm',
|
||||
op='update',
|
||||
|
||||
Reference in New Issue
Block a user