1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Added Alpine Linux values.

This commit is contained in:
Ylian Saint-Hilaire 2021-01-27 23:37:44 -08:00
parent ddcddb7105
commit 5d3e48df69
4 changed files with 4 additions and 3 deletions

View file

@ -2760,7 +2760,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
const user = obj.users[idSplit[4] + '/' + idSplit[5] + '/' + idSplit[6]];
if (user != null) {
if (domain.meshmessengertitle.indexOf('{0}') >= 0) { options.username = encodeURIComponent(user.realname ? user.realname : user.name).replace(/'/g, '%27'); }
if (domain.meshmessengertitle.indexOf('{1}') >= 0) { options.userid = encodeURIComponent(user.name); }
if (domain.meshmessengertitle.indexOf('{1}') >= 0) { options.userid = encodeURIComponent(user.name).replace(/'/g, '%27'); }
}
}
}