Refactoring

This commit is contained in:
Chris Mann 2023-07-26 10:37:37 +02:00
parent 49f650e350
commit 0418d7be7d

View file

@ -118,8 +118,9 @@ func add(user User, config *ConfigFile, ldapConn *ldap.Conn) error {
} }
// Send the email // Send the email
err = sendMail(SendMailTplData{ err = sendMail(SendMailTplData{
From: "alice@resdigita.org", From: "alice@resdigita.org",
To: user.OtherMailbox, To: user.OtherMailbox,
RelTemplatePath: "user/mail.txt",
ContentVars: map[string]string{ ContentVars: map[string]string{
"InviteFrom": "alice@resdigita.org", "InviteFrom": "alice@resdigita.org",
"SebAddress": "https://www.gvoisins.org", "SebAddress": "https://www.gvoisins.org",