Skip to content

Commit

Permalink
No more secret value, so remove breaking config
Browse files Browse the repository at this point in the history
  • Loading branch information
dormant-user committed Feb 3, 2024
1 parent 9e0bf3f commit 9fe72b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pystream/models/authenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async def verify_login(request: Request) -> Dict[str, Union[str, int]]:
username, signature, timestamp = await extract_credentials(request)
if password := config.env.authorization.get(username):
hex_user = await secure.hex_encode(username)
hex_pass = await secure.hex_encode(password.get_secret_value())
hex_pass = await secure.hex_encode(password)
else:
logger.warning("User '%s' not allowed", username)
await raise_error(request)
Expand Down

0 comments on commit 9fe72b2

Please sign in to comment.