修复 邮箱已注册 bug

This commit is contained in:
王思川 2021-12-03 09:44:03 +08:00
parent a59c08e5e6
commit bdb195e48a
1 changed files with 1 additions and 1 deletions

View File

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