Skip to content

Commit

Permalink
add debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
meln1k committed May 3, 2024
1 parent d12e922 commit 050556e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fixbackend/customer_support/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ async def get_customer_support_user(
user: AuthenticatedUser,
) -> User:

log.info(f"support login: {user.email}, allowed: {dependencies.config.customer_support_users}")

if user.email in dependencies.config.customer_support_users:
return user

Expand Down

0 comments on commit 050556e

Please sign in to comment.