Skip to content

Commit

Permalink
Remove secret hash from returned client permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
val500 committed Jan 9, 2025
1 parent 4de0f78 commit f6b9bdf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/api/v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,7 @@ def validate_client_key_pair(client_id: str, client_key: str):
):
return None
client_permissions_entry.pop("_id", None)
client_permissions_entry.pop("client_secret_hash", None)
return client_permissions_entry


Expand Down

0 comments on commit f6b9bdf

Please sign in to comment.