修复 邮箱已注册bug

This commit is contained in:
王思川 2021-12-01 17:12:19 +08:00
parent 336ad7b758
commit 6509121782
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ def check_registered(email):
邮箱未被注册 True
邮箱已被注册 False
"""
return True if find_user_info({"邮箱": email}) is [] else False
return False if find_user_info({"邮箱": email}) is [] else True
def check_verified(cid):