From e523b3ee43ca86357bd983301c85f6a90f662b10 Mon Sep 17 00:00:00 2001 From: zsloan Date: Fri, 12 Mar 2021 17:39:53 +0000 Subject: Fixed imports in send_forgot_password_email since they apparently needed to be changed for Python 3.8 --- wqflask/wqflask/user_login.py | 4 ++-- 1 file 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" -- cgit v1.2.3