diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-26 14:50:50 +0000 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-26 14:50:50 +0000 |
| commit | d56b0a1223e4211c49a312898ac867b2bf7df7ec (patch) | |
| tree | e1bdbc21d70a73070ff8acb2c87e043952ca8990 /app/auth/email.py | |
| parent | Fancy message flashing (diff) | |
| download | AnnotateChange-d56b0a1223e4211c49a312898ac867b2bf7df7ec.tar.gz AnnotateChange-d56b0a1223e4211c49a312898ac867b2bf7df7ec.zip | |
Bugfixes for email
Diffstat (limited to 'app/auth/email.py')
| -rw-r--r-- | app/auth/email.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/auth/email.py b/app/auth/email.py index 9f6f9d0..c071518 100644 --- a/app/auth/email.py +++ b/app/auth/email.py @@ -1,11 +1,8 @@ # -*- coding: utf-8 -*- -from threading import Thread - from flask import current_app, render_template -from app import mail - +from app.email import send_email def send_password_reset_email(user): token = user.get_reset_password_token() |
