flows: don't create EventAction.FLOW_EXECUTION
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
4245dea25a
commit
46f12e62e8
|
@ -371,12 +371,6 @@ class FlowExecutorView(APIView):
|
||||||
NEXT_ARG_NAME, "authentik_core:root-redirect"
|
NEXT_ARG_NAME, "authentik_core:root-redirect"
|
||||||
)
|
)
|
||||||
self.cancel()
|
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))
|
return to_stage_response(self.request, redirect_with_qs(next_param))
|
||||||
|
|
||||||
def stage_ok(self) -> HttpResponse:
|
def stage_ok(self) -> HttpResponse:
|
||||||
|
|
Reference in New Issue