Merge pull request #21 from theta42/Permissions
Corrected email address
This commit is contained in:
+2
-1
@@ -1,9 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
name: "Theta42 SSO",
|
||||
userModel: 'ldap', // pam, redis, ldap
|
||||
ldap: {
|
||||
url: 'ldap://192.168.1.54:389',
|
||||
url: 'ldap://10.1.0.55:389',
|
||||
bindDN: 'cn=admin,dc=theta42,dc=com',
|
||||
bindPassword: '__IN SRECREST FILE__',
|
||||
userBase: 'ou=people,dc=theta42,dc=com',
|
||||
|
||||
@@ -11,7 +11,7 @@ var Mail = {};
|
||||
Mail.send = async function(to, subject, message, from){
|
||||
await sgMail.send({
|
||||
to: to,
|
||||
from: from || `${conf.name} Accounts <accounts@no-reply.theta42.com>`,
|
||||
from: from || `${conf.name} Accounts <noreply@sendgrid.theta42.com>`,
|
||||
subject: subject,
|
||||
text: message,
|
||||
html: message,
|
||||
|
||||
Reference in New Issue
Block a user