diff options
author | Erik Johnston <erik@matrix.org> | 2015-06-19 11:35:59 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-06-19 11:35:59 +0100 |
commit | 0e58d191635c1c91c6e4aa4e1350d4c898f9be1f (patch) | |
tree | 4b2ce8ef7b9786864d7d376f4ad22fa48b3d2957 /synapse/api/auth.py | |
parent | Add Eric Myhre to AUTHORS (diff) | |
parent | Remove stale debug lines (diff) | |
download | synapse-0e58d191635c1c91c6e4aa4e1350d4c898f9be1f.tar.xz |
Merge pull request #187 from matrix-org/erikj/sanitize_logging
Sanitize logging
Diffstat (limited to 'synapse/api/auth.py')
-rw-r--r-- | synapse/api/auth.py | 2 |
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( |