From 4e2443d60b036e7a7797c225d7f875cc66b0bb92 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 11 May 2021 13:13:05 +0200 Subject: [PATCH] flows: make cancel link always logout user Signed-off-by: Jens Langhammer --- authentik/flows/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/flows/views.py b/authentik/flows/views.py index c843a88a6..05858520f 100644 --- a/authentik/flows/views.py +++ b/authentik/flows/views.py @@ -298,7 +298,7 @@ class CancelView(View): if SESSION_KEY_PLAN in request.session: del request.session[SESSION_KEY_PLAN] LOGGER.debug("Canceled current plan") - return redirect("authentik_core:root-redirect") + return redirect("authentik_core:default-invalidation") class ToDefaultFlow(View):