*: make generic template's base parameterised

This commit is contained in:
Jens Langhammer
2020-10-18 15:19:01 +02:00
parent 152b2d863d
commit 6a53069653
6 changed files with 6 additions and 6 deletions

View File

@ -28,7 +28,7 @@ def token_from_header(raw_header: bytes) -> Optional[Token]:
# TODO: Remove this workaround
# temporary fallback for 0.11 to 0.12 upgrade
# 0.11 and below proxy sends authorization header not base64 encoded
auth_credentials = auth_credentials
pass
# Accept credentials with username and without
if ":" in auth_credentials:
_, password = auth_credentials.split(":")