From 46f12e62e81c84ccc10487a9735e8a48759cea99 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 27 Dec 2021 15:07:33 +0100 Subject: [PATCH] flows: don't create EventAction.FLOW_EXECUTION Signed-off-by: Jens Langhammer --- authentik/flows/views/executor.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/authentik/flows/views/executor.py b/authentik/flows/views/executor.py index 1e789ac17e..d0b3313ced 100644 --- a/authentik/flows/views/executor.py +++ b/authentik/flows/views/executor.py @@ -371,12 +371,6 @@ class FlowExecutorView(APIView): NEXT_ARG_NAME, "authentik_core:root-redirect" ) self.cancel() - Event.new( - action=EventAction.FLOW_EXECUTION, - flow=self.flow, - designation=self.flow.designation, - successful=True, - ).from_http(self.request) return to_stage_response(self.request, redirect_with_qs(next_param)) def stage_ok(self) -> HttpResponse: