Remove user_id tag

This commit is contained in:
Jorik Schellekens 2019-08-14 17:39:56 +01:00
parent 47c9ab23ab
commit 8d70a3170a

View file

@ -179,7 +179,7 @@ class Auth(object):
def get_public_keys(self, invite_event):
return event_auth.get_public_keys(invite_event)
@opentracing.trace_deferred
@opentracing.trace
@defer.inlineCallbacks
def get_user_by_req(
self, request, allow_guest=False, rights="access", allow_expired=False
@ -214,7 +214,6 @@ class Auth(object):
opentracing.set_tag("authenticated_entity", user_id)
# there is at least one other place where authenticated entity is
# set. user_id is tagged in case authenticated_entity is clobbered
opentracing.set_tag("user_id", user_id)
if ip_addr and self.hs.config.track_appservice_user_ips:
yield self.store.insert_client_ip(