mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added GMail OAuth support, #3744
This commit is contained in:
parent
3e2c762fe5
commit
66003f8fd5
5 changed files with 163 additions and 104 deletions
|
@ -1636,7 +1636,7 @@ function CreateMeshCentralServer(config, args) {
|
|||
obj.mailserver = require('./meshmail.js').CreateMeshMail(obj);
|
||||
obj.mailserver.verify();
|
||||
if (obj.args.lanonly == true) { addServerWarning("SendGrid server has limited use in LAN mode.", 17); }
|
||||
} else if ((obj.config.smtp != null) && (obj.config.smtp.host != null) && (obj.config.smtp.from != null)) {
|
||||
} else if (obj.config.smtp != null) {
|
||||
// SMTP server
|
||||
obj.mailserver = require('./meshmail.js').CreateMeshMail(obj);
|
||||
obj.mailserver.verify();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue