mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added MeshCentral Assistant option to invitation email.
This commit is contained in:
parent
02aa494e32
commit
86a6970631
5 changed files with 30 additions and 3 deletions
|
@ -330,6 +330,7 @@ module.exports.CreateMeshMail = function (parent, domain) {
|
|||
if (loginkey != null) { options.urlargs1 = '?key=' + loginkey; options.urlargs2 = '&key=' + loginkey; } else { options.urlargs1 = ''; options.urlargs2 = ''; }
|
||||
options.windows = ((os == 0) || (os == 1)) ? 1 : 0;
|
||||
options.linux = ((os == 0) || (os == 2)) ? 1 : 0;
|
||||
options.assistant = ((os == 0) || (os == 5)) ? 1 : 0;
|
||||
options.osx = ((os == 0) || (os == 3)) ? 1 : 0;
|
||||
options.link = (os == 4) ? 1 : 0;
|
||||
options.linkurl = createInviteLink(domain, meshid, flags, expirehours);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue