stages/authenticator_validate: fix lint error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
2e48e0cc2f
commit
8e83209631
|
@ -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"""
|
||||||
|
|
Reference in a new issue