summary refs log tree commit diff
path: root/synapse/api/auth.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-06-26 17:52:37 +0100
committerMatthew Hodgson <matthew@matrix.org>2018-06-26 17:52:37 +0100
commit9175225adf4434d8e867d10212aadb18227b78c8 (patch)
tree97535ea3f60db38df94d44eb2e715d3dcca0aaee /synapse/api/auth.py
parentFix error on deleting users pending deactivation (diff)
parentfixes (diff)
downloadsynapse-9175225adf4434d8e867d10212aadb18227b78c8.tar.xz
Merge remote-tracking branch 'origin/hawkowl/sorteddict-api' into matrix-org-hotfixes
Diffstat (limited to 'synapse/api/auth.py')
-rw-r--r--synapse/api/auth.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py

index 66639b0089..54186695cd 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py
@@ -488,7 +488,7 @@ class Auth(object): def _look_up_user_by_access_token(self, token): ret = yield self.store.get_user_by_access_token(token) if not ret: - logger.warn("Unrecognised access token - not in store: %s" % (token,)) + logger.warn("Unrecognised access token - not in store.") raise AuthError( self.TOKEN_NOT_FOUND_HTTP_STATUS, "Unrecognised access token.", errcode=Codes.UNKNOWN_TOKEN @@ -511,7 +511,7 @@ class Auth(object): ) service = self.store.get_app_service_by_token(token) if not service: - logger.warn("Unrecognised appservice access token: %s" % (token,)) + logger.warn("Unrecognised appservice access token.") raise AuthError( self.TOKEN_NOT_FOUND_HTTP_STATUS, "Unrecognised access token.",