From 08aa32a5df169322b6f0db0dffe8185afa37723d Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Sat, 5 Mar 2022 17:59:44 +0100 Subject: [PATCH] Revert "Don't bother running the query without an address" This reverts commit dc819795506c13d9ee9c06aec130995ee80858cc. --- core/admin/mailu/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/admin/mailu/models.py b/core/admin/mailu/models.py index a3f4a532..48b47ea5 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 """ - '@' in email and return cls.query.get(email) + return cls.query.get(email) @classmethod def login(cls, email, password):