From 3b536f6e551ad3f0d2103fdb4d00391936a6736c Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 6 Feb 2021 20:54:12 +0100 Subject: [PATCH] admin: fix property-mapping views redirecting to invalid URL --- authentik/admin/views/property_mappings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/authentik/admin/views/property_mappings.py b/authentik/admin/views/property_mappings.py index 9df13cef5..ff87583e9 100644 --- a/authentik/admin/views/property_mappings.py +++ b/authentik/admin/views/property_mappings.py @@ -37,7 +37,7 @@ class PropertyMappingCreateView( permission_required = "authentik_core.add_propertymapping" template_name = "generic/create.html" - success_url = reverse_lazy("authentik_admin:property-mappings") + success_url = reverse_lazy("authentik_core:shell") success_message = _("Successfully created Property Mapping") @@ -54,7 +54,7 @@ class PropertyMappingUpdateView( permission_required = "authentik_core.change_propertymapping" template_name = "generic/update.html" - success_url = reverse_lazy("authentik_admin:property-mappings") + success_url = reverse_lazy("authentik_core:shell") success_message = _("Successfully updated Property Mapping") @@ -67,7 +67,7 @@ class PropertyMappingDeleteView( permission_required = "authentik_core.delete_propertymapping" template_name = "generic/delete.html" - success_url = reverse_lazy("authentik_admin:property-mappings") + success_url = reverse_lazy("authentik_core:shell") success_message = _("Successfully deleted Property Mapping")