diff --git a/src/app/commoncomponents/JamiIdentifier.qml b/src/app/commoncomponents/JamiIdentifier.qml
index 0668f711af4799d0aee89144119c53f3b25785e0..ef895ebc05ac6242aa8c353674a97e5497e5c911 100644
--- a/src/app/commoncomponents/JamiIdentifier.qml
+++ b/src/app/commoncomponents/JamiIdentifier.qml
@@ -30,6 +30,15 @@ Item {
     width: childrenRect.width
     height: controlsLayout.height + usernameTextEdit.height + 2 * JamiTheme.preferredMarginSize
 
+    Connections {
+        target: CurrentAccount
+        function onIdChanged(id) {
+            if (!usernameTextEdit.readOnly) {
+                usernameTextEdit.readOnly = true;
+            }
+        }
+    }
+
     // Background rounded rectangle.
     Rectangle {
         id: outerRect