Skip to content

Commit

Permalink
Fixing tenant endpoint access
Browse files Browse the repository at this point in the history
Signed-off-by: Thiago Romano <thiagoromano.s@gmail.com>
  • Loading branch information
thiagoromanos committed Feb 28, 2025
1 parent 3057c0e commit db9412c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acapy_agent/admin/decorators/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async def tenant_auth(request):
(multitenant_enabled and authorization_header)
or (not multitenant_enabled and valid_key)
or (multitenant_enabled and valid_key and base_wallet_allowed_route)
or insecure_mode
or (insecure_mode and not multitenant_enabled)
or request.method == "OPTIONS"
):
return await handler(request)
Expand Down

0 comments on commit db9412c

Please sign in to comment.