Skip to content

Conversation

pan0303
Copy link

@pan0303 pan0303 commented Dec 9, 2020

验证邮箱是否真实有效并发送邮件或提示

author = Author(mail=email, is_banned=False)
db.session.add(author)

if sendMailAndVerify(email):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pan0303 This checks email validity before adding the author. Why don't you also check email validity before one posts an article? -Hui

@pan0303
Copy link
Author

pan0303 commented Dec 26, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants