mirror of
https://github.com/simple-login/app.git
synced 2024-09-21 07:25:59 +08:00
mailbox can be other user's email
This commit is contained in:
parent
35b1972730
commit
16de59a9f5
|
@ -384,9 +384,6 @@ def mailbox_already_used(email: str, user) -> bool:
|
||||||
if email == user.email:
|
if email == user.email:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if User.get_by(email=email):
|
|
||||||
return True
|
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue