mirror of
https://github.com/Mailu/Mailu.git
synced 2025-03-03 14:52:36 +02:00
Revert "Don't bother running the query without an address"
This reverts commit dc819795506c13d9ee9c06aec130995ee80858cc.
This commit is contained in:
parent
7ce7f2096b
commit
08aa32a5df
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user