summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--postgresqleu/confreg/util.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/postgresqleu/confreg/util.py b/postgresqleu/confreg/util.py
index fb81217e..9ae1dd04 100644
--- a/postgresqleu/confreg/util.py
+++ b/postgresqleu/confreg/util.py
@@ -222,7 +222,8 @@ def send_welcome_email(reg):
"Registration complete",
'confreg/mail/welcomemail.txt',
{
- 'reg': reg,
+ 'reg': reg, # Legacy compatibility.
+ 'attendee': reg, # Same as when sending attendee email, to make it easier
},
receivername=reg.fullname,
attachments=attachments,