summary refs log tree commit diff
path: root/synapse/handlers/auth.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-03-11 14:25:05 +0000
committerDavid Baker <dave@matrix.org>2016-03-11 14:25:05 +0000
commit57c444b3ad9e69ae99fe694c0ef9a1961ec9366a (patch)
treea72ffb89cbd194241c82c2b46779bb6b29f21fda /synapse/handlers/auth.py
parentFix cache invalidation so deleting access tokens (which we did when changing ... (diff)
downloadsynapse-57c444b3ad9e69ae99fe694c0ef9a1961ec9366a.tar.xz
Dear PyCharm, please indent sensibly for me. Thx.
Diffstat (limited to 'synapse/handlers/auth.py')
-rw-r--r--synapse/handlers/auth.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py
index a740cc3da3..0f02493fa2 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -439,10 +439,10 @@ class AuthHandler(BaseHandler):
 
         yield self.store.user_set_password_hash(user_id, password_hash)
         yield self.store.user_delete_access_tokens_except(
-                user_id, except_access_token_ids
+            user_id, except_access_token_ids
         )
         yield self.hs.get_pusherpool().remove_pushers_by_user_except_access_tokens(
-                user_id, except_access_token_ids
+            user_id, except_access_token_ids
         )
 
     @defer.inlineCallbacks