From acfa9c76d139b6c4200bee1453bf0829746f53bb Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 15 Feb 2023 16:27:08 +0100 Subject: [PATCH] providers/ldap: check MFA password on password stage Signed-off-by: Jens Langhammer --- internal/outpost/flow/solvers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/outpost/flow/solvers.go b/internal/outpost/flow/solvers.go index c70e3e2d9..de20b3cfc 100644 --- a/internal/outpost/flow/solvers.go +++ b/internal/outpost/flow/solvers.go @@ -25,6 +25,7 @@ func (fe *FlowExecutor) solveChallenge_Identification(challenge *api.ChallengeTy } func (fe *FlowExecutor) solveChallenge_Password(challenge *api.ChallengeTypes, req api.ApiFlowsExecutorSolveRequest) (api.FlowChallengeResponseRequest, error) { + fe.checkPasswordMFA() r := api.NewPasswordChallengeResponseRequest(fe.getAnswer(StagePassword)) return api.PasswordChallengeResponseRequestAsFlowChallengeResponseRequest(r), nil }