diff options
author | Luke Barnard <lukeb@openmarket.com> | 2016-10-20 12:07:16 +0100 |
---|---|---|
committer | Luke Barnard <lukeb@openmarket.com> | 2016-10-20 12:07:16 +0100 |
commit | 07caa749bf2b2b2511d31ae73d149075bbea4319 (patch) | |
tree | 7b93b430660421e93f2685137e0d06a2a7083bdd /synapse | |
parent | as_user->app_service, less redundant comments, better positioned comments (diff) | |
download | synapse-07caa749bf2b2b2511d31ae73d149075bbea4319.tar.xz |
Closing brace on following line
Diffstat (limited to '')
-rw-r--r-- | synapse/api/auth.py | 3 |
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.", |