Refactoring
This commit is contained in:
parent
49f650e350
commit
0418d7be7d
1 changed files with 3 additions and 2 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue