增加登陆失败的验证码验证;增加找回密码邮件的相关逻辑框架

This commit is contained in:
virusdefender
2015-10-09 16:17:07 +08:00
parent 29852410c0
commit 61fd72ebae
4 changed files with 57 additions and 7 deletions

View File

@@ -1 +1,14 @@
# coding=utf-8
def send_email(*args, **kwargs):
pass
'''
envelope = Envelope(from_addr=("noreply@qduoj.com", u"qduoj 密码找回邮件", email_template),
to_addr=(user.email, user.username),
subject=u"qduoj 密码找回邮件",
html_body=email_template)
envelope.send("smtp.mxhichina.com", login="noreply@qduoj.com", password="092122302Zarpe2015", tls=False)
'''