]> git.ipfire.org Git - ipfire.org.git/commitdiff
people: Submit real name to mailing list as well
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 31 Oct 2019 19:10:13 +0000 (19:10 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 31 Oct 2019 19:10:13 +0000 (19:10 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/backend/accounts.py

index a9697e46f0ecdeea4739c4ba95add53a61bd0325..55d99a6c05ec510820937e29ba644af8a56a5bf3 100644 (file)
@@ -247,7 +247,7 @@ class Accounts(Object):
 
                # Invite newly registered users to newsletter
                self.backend.messages.send_template(
-                       "newsletter/subscribe", address=account.email)
+                       "newsletter/subscribe", address="%s <%s>" % (account, account.email))
 
                # Send email about account registration
                self.backend.messages.send_template("people/messages/new-account",