summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorDavid Baker <dbkr@users.noreply.github.com>2017-11-01 15:57:35 +0000
committerGitHub <noreply@github.com>2017-11-01 15:57:35 +0000
commitfbbacb284e0d7b181cfd620f15d698fecddd920d (patch)
tree2edb6d7217dcb4a3531b4c92398fbb6a76cc1ad1 /synapse/handlers
parentMerge pull request #2618 from matrix-org/dbkr/log_login_requests (diff)
parentFix tests for refresh_token removal (diff)
downloadsynapse-fbbacb284e0d7b181cfd620f15d698fecddd920d.tar.xz
Merge pull request #2613 from matrix-org/rav/kill_refresh_tokens
Remove the last vestiges of refresh_tokens
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/device.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py
index dac4b3f4e0..94fc08446b 100644
--- a/synapse/handlers/device.py
+++ b/synapse/handlers/device.py
@@ -161,7 +161,6 @@ class DeviceHandler(BaseHandler):
 
         yield self.store.user_delete_access_tokens(
             user_id, device_id=device_id,
-            delete_refresh_tokens=True,
         )
 
         yield self.store.delete_e2e_keys_by_device(
@@ -196,7 +195,6 @@ class DeviceHandler(BaseHandler):
         for device_id in device_ids:
             yield self.store.user_delete_access_tokens(
                 user_id, device_id=device_id,
-                delete_refresh_tokens=True,
             )
             yield self.store.delete_e2e_keys_by_device(
                 user_id=user_id, device_id=device_id