mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Change email template to fit new name
This commit is contained in:
parent
0c55c027db
commit
ae30ba7186
@ -10,7 +10,7 @@ def send_async_email(app, msg):
|
||||
|
||||
|
||||
def send_email(to, subject, template, **kwargs):
|
||||
msg = Message('[Opaque] {}'.format(subject), recipients=[to])
|
||||
msg = Message('[nopaque] {}'.format(subject), recipients=[to])
|
||||
msg.body = render_template(template + '.txt.j2', **kwargs)
|
||||
msg.html = render_template(template + '.html.j2', **kwargs)
|
||||
thread = Thread(target=send_async_email,
|
||||
|
@ -3,5 +3,5 @@
|
||||
<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>The nopaque Team</p>
|
||||
<p><small>Note: replies to this email address are not monitored.</small></p>
|
||||
|
@ -4,6 +4,6 @@ To confirm your account please click on the following link:
|
||||
{{ url_for('auth.confirm', token=token, _external=True) }}
|
||||
|
||||
Sincerely,
|
||||
The Opaque Team
|
||||
The nopaque Team
|
||||
|
||||
Note: replies to this email address are not monitored.
|
||||
|
@ -4,5 +4,5 @@
|
||||
<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>The nopaque Team</p>
|
||||
<p><small>Note: replies to this email address are not monitored.</small></p>
|
||||
|
@ -8,6 +8,6 @@ If you have not requested a password reset simply ignore this message.
|
||||
|
||||
Sincerely,
|
||||
|
||||
The Opaque Team
|
||||
The nopaque Team
|
||||
|
||||
Note: replies to this email address are not monitored.
|
||||
|
Loading…
Reference in New Issue
Block a user