Unverified Commit d97b9b90 authored by Thom Wiggers's avatar Thom Wiggers 📐

Use txt instead of html

parent c82a4b15
......@@ -44,7 +44,7 @@ class UserCreationForm(forms.ModelForm):
if self.cleaned_data['send_welcome_email']:
with translation.override(user.member.language):
email_body = loader.render_to_string(
'members/email/welcome.html',
'members/email/welcome.txt',
{'user': user, 'password': password})
user.email_user(
_('Welkom bij Studievereniging Thalia'),
......
......@@ -8,9 +8,7 @@ your profile.
Your username is: {{ user.username }}
Your password is: {{ password }}
Please also check the following information, if relevant:
Student number: {{ user.member.student_number }}
Please also check the information on your profile.
Cheers,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment