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(
{'user': user, 'password': password})
_('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.
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