stages/authenticator_validate: log duo error

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-11-24 11:36:43 +01:00
parent 6843c8389b
commit d0308a8239
1 changed files with 1 additions and 0 deletions

View File

@ -200,6 +200,7 @@ def validate_challenge_duo(device_pk: int, stage_view: StageView, user: User) ->
) )
# {'result': 'allow', 'status': 'allow', 'status_msg': 'Success. Logging you in...'} # {'result': 'allow', 'status': 'allow', 'status_msg': 'Success. Logging you in...'}
if response["result"] == "deny": if response["result"] == "deny":
LOGGER.debug("duo push response", result=response["result"], msg=response["status_msg"])
login_failed.send( login_failed.send(
sender=__name__, sender=__name__,
credentials={"username": user.username}, credentials={"username": user.username},