summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorTravis Ralston <travpc@gmail.com>2019-07-03 14:50:54 -0600
committerTravis Ralston <travpc@gmail.com>2019-07-03 14:50:54 -0600
commit3c9c39df6c33f63ce478985f3121d0a5015212d7 (patch)
treee677da0a94b042de227ba48db3bc2e7d450b562c /synapse/storage
parentTrue (diff)
downloadsynapse-3c9c39df6c33f63ce478985f3121d0a5015212d7.tar.xz
Don't cache access tokens
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/registration.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/storage/registration.py b/synapse/storage/registration.py

index d6513fd8f3..80205d28c3 100644 --- a/synapse/storage/registration.py +++ b/synapse/storage/registration.py
@@ -82,7 +82,6 @@ class RegistrationWorkerStore(SQLBaseStore): is_trial = (now - info["creation_ts"] * 1000) < trial_duration_ms defer.returnValue(is_trial) - @cached() def get_user_by_access_token(self, token): """Get a user from the given access token.