diff --git a/scm-webapp/src/main/webapp/resources/js/sonia.user.js b/scm-webapp/src/main/webapp/resources/js/sonia.user.js index 25551c8ed1..7c86c5d0b5 100644 --- a/scm-webapp/src/main/webapp/resources/js/sonia.user.js +++ b/scm-webapp/src/main/webapp/resources/js/sonia.user.js @@ -124,7 +124,8 @@ Sonia.user.FormPanel = Ext.extend(Sonia.rest.FormPanel,{ items: [{ fieldLabel: 'Name', name: 'name', - allowBlank: false + allowBlank: false, + readOnly: this.item != null },{ fieldLabel: 'DisplayName', name: 'displayName',