From 8e83209631f3522a87c210e35122e566ca8af925 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 22 Dec 2021 18:14:35 +0100 Subject: [PATCH] stages/authenticator_validate: fix lint error Signed-off-by: Jens Langhammer --- authentik/stages/authenticator_validate/stage.py | 1 + 1 file changed, 1 insertion(+) diff --git a/authentik/stages/authenticator_validate/stage.py b/authentik/stages/authenticator_validate/stage.py index aff7d7dca..000ac130e 100644 --- a/authentik/stages/authenticator_validate/stage.py +++ b/authentik/stages/authenticator_validate/stage.py @@ -145,6 +145,7 @@ class AuthenticatorValidateStageView(ChallengeStageView): challenge.is_valid() return [challenge.data] + # pylint: disable=too-many-return-statements def get(self, request: HttpRequest, *args, **kwargs) -> HttpResponse: """Check if a user is set, and check if the user has any devices if not, we can skip this entire stage"""