diff --git a/apps/api/documents/index.html.desktop b/apps/api/documents/index.html.desktop
index d95b31995..8f6aea8a6 100644
--- a/apps/api/documents/index.html.desktop
+++ b/apps/api/documents/index.html.desktop
@@ -101,7 +101,7 @@
mode : urlParams["mode"] || 'edit',
lang : urlParams["lang"] || 'en',
user: {
- id: urlParams["userid"] || 'uid-901', name: urlParams["username"] || 'Chuk.Gek'
+ id: urlParams["userid"] || urlParams["username"] || 'uid-901', name: urlParams["username"] || 'Chuk.Gek'
}
};
}