aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/user_login.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/user_login.py b/wqflask/wqflask/user_login.py
index 041f1f11..b6e7973f 100644
--- a/wqflask/wqflask/user_login.py
+++ b/wqflask/wqflask/user_login.py
@@ -334,8 +334,8 @@ def forgot_password():
return render_template("new_security/forgot_password.html", errors=errors)
def send_forgot_password_email(verification_email):
- from email.MIMEMultipart import MIMEMultipart
- from email.MIMEText import MIMEText
+ from email.mime.multipart import MIMEMultipart
+ from email.mime.text import MIMEText
template_name = "email/forgot_password.txt"
key_prefix = "forgot_password_code"