From 24d5364da00b34fe739c6a1db948db74c2c7fff9 Mon Sep 17 00:00:00 2001 From: William Mantly Date: Mon, 19 Feb 2024 10:49:37 -0500 Subject: [PATCH 1/2] Corrected email address --- nodejs/models/email.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, From ee21bdbf228bdd46288a82bcef91d2256679b748 Mon Sep 17 00:00:00 2001 From: William Mantly Date: Mon, 19 Feb 2024 10:52:06 -0500 Subject: [PATCH 2/2] Added app name to conf file --- nodejs/conf/base.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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',