summary refs log tree commit diff
path: root/synapse/federation/transport/server.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-06-19 11:35:59 +0100
committerErik Johnston <erik@matrix.org>2015-06-19 11:35:59 +0100
commit0e58d191635c1c91c6e4aa4e1350d4c898f9be1f (patch)
tree4b2ce8ef7b9786864d7d376f4ad22fa48b3d2957 /synapse/federation/transport/server.py
parentAdd Eric Myhre to AUTHORS (diff)
parentRemove stale debug lines (diff)
downloadsynapse-0e58d191635c1c91c6e4aa4e1350d4c898f9be1f.tar.xz
Merge pull request #187 from matrix-org/erikj/sanitize_logging
Sanitize logging
Diffstat (limited to 'synapse/federation/transport/server.py')
-rw-r--r--synapse/federation/transport/server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py
index 31190e700a..bad93c6b2f 100644
--- a/synapse/federation/transport/server.py
+++ b/synapse/federation/transport/server.py
@@ -94,6 +94,7 @@ class TransportLayerServer(object):
         yield self.keyring.verify_json_for_server(origin, json_request)
 
         logger.info("Request from %s", origin)
+        request.authenticated_entity = origin
 
         defer.returnValue((origin, content))