]> source.dussan.org Git - nextcloud-server.git/commitdiff
Prevent duplicate set display name request
authorChristopher Ng <chrng8@gmail.com>
Tue, 28 Jun 2022 18:09:39 +0000 (18:09 +0000)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Wed, 6 Jul 2022 20:54:18 +0000 (20:54 +0000)
Signed-off-by: Christopher Ng <chrng8@gmail.com>
apps/settings/js/federationsettingsview.js

index 9eb0b930733114c58dc41ab2b185ca876dbf4ec8..e05cc9f20f4e834442e329ed66f4bff2d45040f0 100644 (file)
                        _.each(this._inputFields, function(field) {
                                if (
                                        field === 'avatar' ||
-                                       field === 'email'
+                                       field === 'email' ||
+                                       field === 'displayname'
                                ) {
                                        return;
                                }