Fix username in onlyoffice

pull/1/head
yflory 4 years ago
parent abe717fb10
commit 8ca34bd238

@ -1198,6 +1198,7 @@ define([
"user": { "user": {
"id": String(myOOId), //"c0c3bf82-20d7-4663-bf6d-7fa39c598b1d", "id": String(myOOId), //"c0c3bf82-20d7-4663-bf6d-7fa39c598b1d",
"firstname": metadataMgr.getUserData().name || Messages.anonymous, "firstname": metadataMgr.getUserData().name || Messages.anonymous,
"name": metadataMgr.getUserData().name || Messages.anonymous,
}, },
"mode": "edit", "mode": "edit",
"lang": (window.cryptpadLanguage || navigator.language || navigator.userLanguage || '').slice(0,2) "lang": (window.cryptpadLanguage || navigator.language || navigator.userLanguage || '').slice(0,2)

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save