Refactoring

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

View file

@ -120,6 +120,7 @@ func add(user User, config *ConfigFile, ldapConn *ldap.Conn) error {
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",