1
0
forked from finn/site

appearance tweaks

This commit is contained in:
2024-08-08 15:14:44 +00:00
parent 1c6293fda3
commit 92b314623a
16 changed files with 67 additions and 57 deletions

View File

@@ -18,7 +18,7 @@ def send_email(subject, sender, recipients, text_body, html_body):
def send_password_reset_email(user):
token = user.get_reset_password_token()
hostname = app.config['REAL_HOSTNAME']
send_email('[Blog] Reset Password',
send_email('reset oily password',
sender=app.config['ADMINS'][0],
recipients=[user.email],
text_body=render_template('email/reset_password.txt', hostname=hostname, user=user, token=token),