Change email template to fit new name

This commit is contained in:
Patrick Jentsch 2019-12-02 12:03:50 +01:00
parent 0c55c027db
commit ae30ba7186
5 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ def send_async_email(app, msg):
def send_email(to, subject, template, **kwargs): 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.body = render_template(template + '.txt.j2', **kwargs)
msg.html = render_template(template + '.html.j2', **kwargs) msg.html = render_template(template + '.html.j2', **kwargs)
thread = Thread(target=send_async_email, thread = Thread(target=send_async_email,

View File

@ -3,5 +3,5 @@
<p>Alternatively, you can paste the following link in your browser's address bar:</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>{{ url_for('auth.confirm', token=token, _external=True) }}</p>
<p>Sincerely,</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> <p><small>Note: replies to this email address are not monitored.</small></p>

View File

@ -4,6 +4,6 @@ To confirm your account please click on the following link:
{{ url_for('auth.confirm', token=token, _external=True) }} {{ url_for('auth.confirm', token=token, _external=True) }}
Sincerely, Sincerely,
The Opaque Team The nopaque Team
Note: replies to this email address are not monitored. Note: replies to this email address are not monitored.

View File

@ -4,5 +4,5 @@
<p>{{ url_for('auth.password_reset', token=token, _external=True) }}</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>If you have not requested a password reset simply ignore this message.</p>
<p>Sincerely,</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> <p><small>Note: replies to this email address are not monitored.</small></p>

View File

@ -8,6 +8,6 @@ If you have not requested a password reset simply ignore this message.
Sincerely, Sincerely,
The Opaque Team The nopaque Team
Note: replies to this email address are not monitored. Note: replies to this email address are not monitored.