From 9fe72b227819ed78c1dc06d270aa48db11b89180 Mon Sep 17 00:00:00 2001 From: thevickypedia Date: Fri, 2 Feb 2024 22:23:27 -0600 Subject: [PATCH] No more secret value, so remove breaking config --- pystream/models/authenticator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pystream/models/authenticator.py b/pystream/models/authenticator.py index 2056c02..fd97fd7 100644 --- a/pystream/models/authenticator.py +++ b/pystream/models/authenticator.py @@ -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)