From e712719333c59b62dc2437952ccea81a1ec91308 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 31 Dec 2020 10:12:59 +0100 Subject: [PATCH] admin: fix reverse urls for application forms --- authentik/admin/views/applications.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/authentik/admin/views/applications.py b/authentik/admin/views/applications.py index 01fe243de..1f294af8f 100644 --- a/authentik/admin/views/applications.py +++ b/authentik/admin/views/applications.py @@ -29,7 +29,7 @@ class ApplicationCreateView( permission_required = "authentik_core.add_application" template_name = "generic/create.html" - success_url = reverse_lazy("authentik_admin:applications") + success_url = reverse_lazy("authentik_core:shell") success_message = _("Successfully created Application") @@ -47,7 +47,7 @@ class ApplicationUpdateView( permission_required = "authentik_core.change_application" template_name = "generic/update.html" - success_url = reverse_lazy("authentik_admin:applications") + success_url = reverse_lazy("authentik_core:shell") success_message = _("Successfully updated Application") @@ -60,5 +60,5 @@ class ApplicationDeleteView( permission_required = "authentik_core.delete_application" template_name = "generic/delete.html" - success_url = reverse_lazy("authentik_admin:applications") + success_url = reverse_lazy("authentik_core:shell") success_message = _("Successfully deleted Application")