mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-21 12:14:29 +03:00
Don't cache access tokens
This commit is contained in:
parent
9772ceac71
commit
3c9c39df6c
1 changed files with 0 additions and 1 deletions
|
@ -82,7 +82,6 @@ class RegistrationWorkerStore(SQLBaseStore):
|
||||||
is_trial = (now - info["creation_ts"] * 1000) < trial_duration_ms
|
is_trial = (now - info["creation_ts"] * 1000) < trial_duration_ms
|
||||||
defer.returnValue(is_trial)
|
defer.returnValue(is_trial)
|
||||||
|
|
||||||
@cached()
|
|
||||||
def get_user_by_access_token(self, token):
|
def get_user_by_access_token(self, token):
|
||||||
"""Get a user from the given access token.
|
"""Get a user from the given access token.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue