Add e-mail templates for password reset request.

This commit is contained in:
Patrick Jentsch 2019-07-08 11:00:49 +02:00
parent 8afb6404e7
commit 4076e44194
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,8 @@
<p>Dear {{ user.username }},</p>
<p>To reset your password <a href="{{ url_for('auth.password_reset', token=token, _external=True) }}">click here</a>.</p>
<p>Alternatively, you can paste the following link in your browser's address bar:</p>
<p>{{ url_for('auth.password_reset', token=token, _external=True) }}</p>
<p>If you have not requested a password reset simply ignore this message.</p>
<p>Sincerely,</p>
<p>The Opaque Team</p>
<p><small>Note: replies to this email address are not monitored.</small></p>

View File

@ -0,0 +1,13 @@
Dear {{ user.username }},
To reset your password click on the following link:
{{ url_for('auth.password_reset', token=token, _external=True) }}
If you have not requested a password reset simply ignore this message.
Sincerely,
The Opaque Team
Note: replies to this email address are not monitored.