From ba3e0a0586ff8a2b52f0685f409230915bebc415 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 5 Jun 2021 20:30:56 +0200 Subject: [PATCH] core: fix flow query Signed-off-by: Jens Langhammer --- authentik/core/views/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/core/views/interface.py b/authentik/core/views/interface.py index d568d990b..3590ba685 100644 --- a/authentik/core/views/interface.py +++ b/authentik/core/views/interface.py @@ -13,5 +13,5 @@ class FlowInterfaceView(TemplateView): template_name = "if/flow.html" def get_context_data(self, **kwargs: Any) -> dict[str, Any]: - kwargs["flow"] = get_object_or_404(Flow, slug=self.kwargs.get("slug")) + kwargs["flow"] = get_object_or_404(Flow, slug=self.kwargs.get("flow_slug")) return super().get_context_data(**kwargs)