Skip to content
Snippets Groups Projects
Unverified Commit 104be07b authored by Witeden's avatar Witeden Committed by GitHub
Browse files

add Reset Password email subject (#16)

parent ac45b23e
Branches
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ class PasswordResetSerializer(serializers.Serializer):
###### USE YOUR TEXT FILE ######
'email_template_name': 'email-reset-template.txt',
'subject_template_name': 'subject-reset-template.txt',
'request': request,
}
self.reset_form.save(**opts)
\ No newline at end of file
{% load i18n %}{% autoescape off %}
{% blocktrans %}Vous recevez ce courriel car vous avez demander à
réinitialiser le mot de passe de votre compte Oser.{% endblocktrans %}
{% blocktrans %}Vous recevez ce courriel car vous avez demandé à
réinitialiser le mot de passe de votre compte OSER.{% endblocktrans %}
{% trans "Please go to the following page and choose a new password:" %}
{% block reset_link %}
......@@ -10,6 +10,6 @@ http://localhost:4200{% url 'password_reset_confirm' uidb64=uid token=token %}
{% trans "Thanks for using our site!" %}
{% blocktrans %}The Oser team{% endblocktrans %}
{% blocktrans %}La Team OSER {% endblocktrans %}
{% endautoescape %}
\ No newline at end of file
{% load i18n %}{% autoescape off %}
{% blocktrans %}Réinitialisation du mot de passe de votre compte OSER{% endblocktrans %}
{% endautoescape %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment