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