Update password reset text, add sender name in email
This commit is contained in:
parent
24460fcee4
commit
b50a489e7d
|
|
@ -353,4 +353,4 @@ EMAIL_BACKEND = 'sendgrid_backend.SendgridBackend'
|
||||||
|
|
||||||
SENDGRID_API_KEY = os.environ.get("SENDGRID_API_KEY")
|
SENDGRID_API_KEY = os.environ.get("SENDGRID_API_KEY")
|
||||||
SENDGRID_SANDBOX_MODE_IN_DEBUG = False
|
SENDGRID_SANDBOX_MODE_IN_DEBUG = False
|
||||||
DEFAULT_FROM_EMAIL='noreply@myskillbox.ch'
|
DEFAULT_FROM_EMAIL = 'myskillbox <noreply@myskillbox.ch>'
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,6 @@
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<h1 class="logo">skillbox</h1>
|
<h1 class="logo">skillbox</h1>
|
||||||
<h2 class="reset-heading">{% trans 'Schau in dein Postfach' %}</h2>
|
<h2 class="reset-heading">{% trans 'Schau in dein Postfach' %}</h2>
|
||||||
<p>{% trans 'Wir haben dir die Anweisungen wie du dein Passwort zurückzusetzen kannst an dich versendet. Das Email sollte in Kürze bei dir ankommen.' %}</p>
|
<p>{% trans 'Wir haben die Anweisungen um dein Passwort zurückzusetzen, an dich verschickt. Das E-Mail sollte in Kürze bei dir ankommen.' %}</p>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{% load i18n %}{% autoescape off %}
|
{% load i18n %}{% autoescape off %}
|
||||||
{% blocktrans %}Du erhälst dieses Email weil dein Passwort auf {{ site_name }} zurückgesetzt wurde.{% endblocktrans %}
|
{% blocktrans %}Du erhältst dieses E-Mail, weil dein Passwort auf {{ site_name }} zurückgesetzt wurde.{% endblocktrans %}
|
||||||
|
|
||||||
{% trans "Bitte öffne folgende Seite, um dein Passwort einzugeben:" %}
|
{% trans "Bitte öffne folgende Seite, um dein neues Passwort einzugeben:" %}
|
||||||
{% block reset_link %}
|
{% block reset_link %}
|
||||||
{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}
|
{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<h1 class="logo">skillbox</h1>
|
<h1 class="logo">skillbox</h1>
|
||||||
<h2 class="reset-heading">{% trans 'Passwort vergessen?' %}</h2>
|
<h2 class="reset-heading">{% trans 'Passwort vergessen?' %}</h2>
|
||||||
<p>{% trans 'Kein Problem! Gib deine Emailadresse ein und erhalte weitere Anweisungen.' %}</p>
|
<p>{% trans 'Kein Problem! Gib deine E-Mail ein und erhalte weitere Anweisungen.' %}</p>
|
||||||
|
|
||||||
<form method="post" class="mt-1">
|
<form method="post" class="mt-1">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue