Skip to content

Commit

Permalink
Fix debugging statement
Browse files Browse the repository at this point in the history
  • Loading branch information
baszoetekouw committed Dec 14, 2023
1 parent 4a1544c commit 0eed831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/auth/mfa.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def schac_match(configured_schac_home, schac_home):
result = entity_id_allowed or schac_home_allowed

logger = ctx_logger("user_api")
logger.debug(f"{action}: {result} (entity_id_allowed={entity_id_allowed}, "
f"schac_home_allowed={schac_home_allowed}, "
logger.debug(f"{action}: {result} (entity_id_allowed={bool(entity_id_allowed)}, "
f"schac_home_allowed={bool(schac_home_allowed)}, "
f"entity_id={entity_id}, schac_home={schac_home}")

return bool(result)
Expand Down

0 comments on commit 0eed831

Please sign in to comment.