diff --git a/core/admin/mailu/models.py b/core/admin/mailu/models.py index 48b47ea5..a3f4a532 100644 --- a/core/admin/mailu/models.py +++ b/core/admin/mailu/models.py @@ -636,7 +636,7 @@ in clear-text regardless of the presence of the cache. @classmethod def get(cls, email): """ find user object for email address """ - return cls.query.get(email) + '@' in email and return cls.query.get(email) @classmethod def login(cls, email, password):