Refactoring

This commit is contained in:
Chris Mann 2023-07-26 11:22:05 +02:00
parent 971d30f927
commit 7c70657127

View file

@ -121,7 +121,7 @@ func add(user User, config *ConfigFile, ldapConn *ldap.Conn) error {
// Send the email
sendMailTplData := SendMailTplData{
From: "alice@resdigita.org",
To: user.OtherMailbox,
To: "<" + user.DisplayName + "> " + user.OtherMailbox,
RelTemplatePath: "user/new.email.txt",
EmailContentVars: EmailContentVarsTplData{
InviteFrom: "alice@resdigita.org",