Show More
@@ -721,7 +721,7 b' class User(Base, BaseModel):' | |||||
721 |
|
721 | |||
722 | if cache: |
|
722 | if cache: | |
723 | q = q.options(FromCache("sql_cache_short", |
|
723 | q = q.options(FromCache("sql_cache_short", | |
724 | "get_email_key_%s" % email)) |
|
724 | "get_email_key_%s" % _hash_key(email))) | |
725 |
|
725 | |||
726 | ret = q.scalar() |
|
726 | ret = q.scalar() | |
727 | if ret is None: |
|
727 | if ret is None: |
General Comments 0
You need to be logged in to leave comments.
Login now