Correct template id for email verification template in the history table.

Correct personalisation name when sending registration message.
This commit is contained in:
Rebecca Law
2016-06-13 11:29:07 +01:00
parent 877fd6fdc4
commit ea80596e73
2 changed files with 41 additions and 1 deletions

View File

@@ -163,7 +163,7 @@ def send_user_email_verification(user_id):
'template_version': template.version,
'to': user_to_send_to.email_address,
'personalisation': {
'user_name': user_to_send_to.name,
'name': user_to_send_to.name,
'url': _create_verification_url(user_to_send_to, secret_code)
}
}