stages/authenticator_validate: fix lint error

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-12-22 18:14:35 +01:00
parent 2e48e0cc2f
commit 8e83209631
1 changed files with 1 additions and 0 deletions

View File

@ -145,6 +145,7 @@ class AuthenticatorValidateStageView(ChallengeStageView):
challenge.is_valid() challenge.is_valid()
return [challenge.data] return [challenge.data]
# pylint: disable=too-many-return-statements
def get(self, request: HttpRequest, *args, **kwargs) -> HttpResponse: def get(self, request: HttpRequest, *args, **kwargs) -> HttpResponse:
"""Check if a user is set, and check if the user has any devices """Check if a user is set, and check if the user has any devices
if not, we can skip this entire stage""" if not, we can skip this entire stage"""