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