aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/js/federationsettingsview.js
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-06-28 18:09:39 +0000
committerChristopher Ng <chrng8@gmail.com>2022-06-28 18:17:59 +0000
commit9db8b0adf9d5c9890c7b63f5cb1242794c793b43 (patch)
treec9b6462771d35ccd101efc7b5f359e4734fa7d98 /apps/settings/js/federationsettingsview.js
parentc0868f93f1175c32379f6e64b245b724c40478be (diff)
downloadnextcloud-server-9db8b0adf9d5c9890c7b63f5cb1242794c793b43.tar.gz
nextcloud-server-9db8b0adf9d5c9890c7b63f5cb1242794c793b43.zip
Prevent duplicate set display name request
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/settings/js/federationsettingsview.js')
-rw-r--r--apps/settings/js/federationsettingsview.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/settings/js/federationsettingsview.js b/apps/settings/js/federationsettingsview.js
index 9eb0b930733..e05cc9f20f4 100644
--- a/apps/settings/js/federationsettingsview.js
+++ b/apps/settings/js/federationsettingsview.js
@@ -128,7 +128,8 @@
_.each(this._inputFields, function(field) {
if (
field === 'avatar' ||
- field === 'email'
+ field === 'email' ||
+ field === 'displayname'
) {
return;
}