summary refs log tree commit diff
path: root/synapse/api/auth.py
diff options
context:
space:
mode:
authorLuke Barnard <lukeb@openmarket.com>2016-10-20 12:07:16 +0100
committerLuke Barnard <lukeb@openmarket.com>2016-10-20 12:07:16 +0100
commit07caa749bf2b2b2511d31ae73d149075bbea4319 (patch)
tree7b93b430660421e93f2685137e0d06a2a7083bdd /synapse/api/auth.py
parentas_user->app_service, less redundant comments, better positioned comments (diff)
downloadsynapse-07caa749bf2b2b2511d31ae73d149075bbea4319.tar.xz
Closing brace on following line
Diffstat (limited to 'synapse/api/auth.py')
-rw-r--r--synapse/api/auth.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py

index 154af6728a..b6a151a7ec 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py
@@ -646,7 +646,8 @@ class Auth(object): request.authenticated_entity = user.to_string() defer.returnValue(synapse.types.create_requester( - user, token_id, is_guest, device_id, app_service=app_service)) + user, token_id, is_guest, device_id, app_service=app_service) + ) except KeyError: raise AuthError( self.TOKEN_NOT_FOUND_HTTP_STATUS, "Missing access token.",