Skip to content

Commit

Permalink
Fix masquerade error in BaseAuth class
Browse files Browse the repository at this point in the history
  • Loading branch information
dodosan-89 committed Mar 15, 2024
1 parent 7936438 commit 48191cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/api/auth/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ async def validate_appservice_can_control_user_id(
elif not app_service.is_interested_in_user(user_id):
raise AuthError(
403,
"Application service cannot masquerade as this user (%s)." % user_id,
"Application service cannot masquerade as this user (%s) (%s)." % user_id, app_service.sender
)
# Check to make sure the user is already registered on the homeserver
elif not (await self.store.get_user_by_id(user_id)):
Expand Down

0 comments on commit 48191cb

Please sign in to comment.