Browse Source

mailbox can be other user's email

Son NK 5 years ago
parent
commit
16de59a9f5
1 changed files with 0 additions and 3 deletions
  1. 0 3
      app/email_utils.py

+ 0 - 3
app/email_utils.py

@@ -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