summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-06-15 17:11:44 +0100
committerErik Johnston <erik@matrix.org>2015-06-15 17:11:44 +0100
commitcee69441d3d3b4d966b6ec69c7dbf4eb3b876bb3 (patch)
treeaed730c6d9d10710be309b422bf411447e3decfc /synapse/api
parentCreate SynapseRequest that overrides __repr__ to not print access_token (diff)
downloadsynapse-cee69441d3d3b4d966b6ec69c7dbf4eb3b876bb3.tar.xz
Log more when we have processed the request
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/auth.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index d5bf0be85c..4da62e5d8d 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -370,6 +370,8 @@ class Auth(object):
                     user_agent=user_agent
                 )
 
+            request.authenticated_entity = user.to_string()
+
             defer.returnValue((user, ClientInfo(device_id, token_id)))
         except KeyError:
             raise AuthError(