diff --git a/synapse/api/auth.py b/synapse/api/auth.py index 72c695ce9c..85136d9b04 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py @@ -265,8 +265,6 @@ class Auth(object): request.authenticated_entity = user.to_string() opentracing.set_tag("authenticated_entity", user.to_string()) - # there is at least one other place where authenticated entity is - # set. return synapse.types.create_requester( user, token_id, is_guest, device_id, app_service=app_service