修复 邮箱已注册 bug
This commit is contained in:
parent
a59c08e5e6
commit
bdb195e48a
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue