diff --git a/meshdesktopmultiplex.js b/meshdesktopmultiplex.js index 3dd93cbf35..6887cb7bc1 100644 --- a/meshdesktopmultiplex.js +++ b/meshdesktopmultiplex.js @@ -1353,6 +1353,7 @@ function CreateMeshRelayEx2(parent, ws, req, domain, user, cookie) { if (domain.consentmessages.autoacceptifterminalnouser === true) { command.soptions.consentAutoAcceptIfTerminalNoUser = true; } if (domain.consentmessages.autoacceptiffilenouser === true) { command.soptions.consentAutoAcceptIfFileNoUser = true; } if (domain.consentmessages.autoacceptiflocked === true) { command.soptions.consentAutoAcceptIfLocked = true; } + if (Array.isArray(domain.consentmessages.autoacceptusers)) { command.soptions.consentAutoAcceptUsers = domain.consentmessages.autoacceptusers.map(function (s) { return ('' + s).toLowerCase(); }); } if (domain.consentmessages.autoacceptifdesktoplocked === true) { command.soptions.consentAutoAcceptIfDesktopLocked = true; } if (domain.consentmessages.autoacceptifterminallocked === true) { command.soptions.consentAutoAcceptIfTerminalLocked = true; } if (domain.consentmessages.autoacceptiffilelocked === true) { command.soptions.consentAutoAcceptIfFileLocked = true; }