mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
Add e-mail templates for password reset request.
This commit is contained in:
parent
8afb6404e7
commit
4076e44194
8
app/templates/auth/email/reset_password.html
Normal file
8
app/templates/auth/email/reset_password.html
Normal 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>
|
13
app/templates/auth/email/reset_password.txt
Normal file
13
app/templates/auth/email/reset_password.txt
Normal 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.
|
Loading…
Reference in New Issue
Block a user