mirror of https://github.com/zulip/zulip.git
Fix one name_changes_disabled check
(imported from commit f1bf125949bd282c8a9054d3e3b2e92c7bd5ab4e)
This commit is contained in:
parent
2f7af69091
commit
5b080bd0cf
|
@ -1466,7 +1466,7 @@ def json_change_settings(request, user_profile,
|
|||
|
||||
result = {}
|
||||
if user_profile.full_name != full_name and full_name.strip() != "":
|
||||
if name_changes_disabled(user_profile.realm.domain):
|
||||
if name_changes_disabled(user_profile.realm):
|
||||
# Failingly silently is fine -- they can't do it through the UI, so
|
||||
# they'd have to be trying to break the rules.
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue