diff --git a/authentik/api/auth.py b/authentik/api/auth.py index f0baa6ed8..da6a154bf 100644 --- a/authentik/api/auth.py +++ b/authentik/api/auth.py @@ -12,6 +12,7 @@ from authentik.core.models import Token, TokenIntents, User LOGGER = get_logger() +# pylint: disable=too-many-return-statements def token_from_header(raw_header: bytes) -> Optional[Token]: """raw_header in the Format of `Basic dGVzdDp0ZXN0`""" auth_credentials = raw_header.decode()