Add email confirmation for nuew users

This commit is contained in:
Stephan Porada
2019-07-08 16:09:00 +02:00
parent 8c121a63de
commit 3b6c9f22dd
3 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,8 @@
<p>Dear {{ user.username }},</p>
<p>Welcome to <b>Opaque</b>!</p>
<p>To confirm your account please <a href="{{ url_for('auth.confirm', 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.confirm', token=token, _external=True) }}</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,11 @@
Dear {{ user.username }},
Welcome to Opaque!
To confirm your account please click on the following link:
{{ url_for('auth.confirm', token=token, _external=True) }}
Sincerely,
The Opaque Team
Note: replies to this email address are not monitored.