notifications: Remove unused field from template context.

While one often might want to put the user's name in an email
template, `name` here was the user's full name, not their first name,
and thus reads as quite formal.
This commit is contained in:
Tim Abbott 2016-09-08 17:02:51 -07:00
parent 0d324d38b3
commit b41fc75767
1 changed files with 1 additions and 2 deletions

View File

@ -476,8 +476,7 @@ def enqueue_welcome_emails(email, name):
user_profile = get_user_profile_by_email(email)
unsubscribe_link = one_click_unsubscribe_link(user_profile, "welcome")
template_payload = {'name': name,
'verbose_support_offers': settings.VERBOSE_SUPPORT_OFFERS,
template_payload = {'verbose_support_offers': settings.VERBOSE_SUPPORT_OFFERS,
'external_host': settings.EXTERNAL_HOST,
'external_uri_scheme': settings.EXTERNAL_URI_SCHEME,
'server_uri': settings.SERVER_URI,