Remove user_id tag

This commit is contained in:
Jorik Schellekens 2019-08-16 15:06:07 +01:00 committed by GitHub
parent d7fb961317
commit 5f744b7982
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -267,8 +267,7 @@ class Auth(object):
opentracing.set_tag("authenticated_entity", user.to_string())
# there is at least one other place where authenticated entity is
# set. user_id is tagged incase authenticated_entity is clobbered
opentracing.set_tag("user_id", user.to_string())
# set.
return synapse.types.create_requester(
user, token_id, is_guest, device_id, app_service=app_service