diff --git a/nodejs/conf/base.js b/nodejs/conf/base.js index a7b2f42..e49429e 100644 --- a/nodejs/conf/base.js +++ b/nodejs/conf/base.js @@ -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', diff --git a/nodejs/models/email.js b/nodejs/models/email.js index 03dcdc1..664629b 100644 --- a/nodejs/models/email.js +++ b/nodejs/models/email.js @@ -11,7 +11,7 @@ var Mail = {}; Mail.send = async function(to, subject, message, from){ await sgMail.send({ to: to, - from: from || `${conf.name} Accounts `, + from: from || `${conf.name} Accounts `, subject: subject, text: message, html: message,