Refactoring
This commit is contained in:
parent
971d30f927
commit
7c70657127
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue