From baa2ed5ecc4a746d913d89aba5f70fa02ac99e0a Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 16 Feb 2021 21:04:03 +0100 Subject: [PATCH] web: fix download button for SAML Metadata download --- authentik/providers/saml/views/metadata.py | 1 + web/src/pages/providers/SAMLProviderViewPage.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/authentik/providers/saml/views/metadata.py b/authentik/providers/saml/views/metadata.py index 7ba1b326d..fe50ca3f4 100644 --- a/authentik/providers/saml/views/metadata.py +++ b/authentik/providers/saml/views/metadata.py @@ -54,6 +54,7 @@ class MetadataImportView(LoginRequiredMixin, FormView): form_class = SAMLProviderImportForm template_name = "providers/saml/import.html" + success_url = "" def dispatch(self, request, *args, **kwargs): if not request.user.is_superuser: diff --git a/web/src/pages/providers/SAMLProviderViewPage.ts b/web/src/pages/providers/SAMLProviderViewPage.ts index 021f373d5..d9d446c9e 100644 --- a/web/src/pages/providers/SAMLProviderViewPage.ts +++ b/web/src/pages/providers/SAMLProviderViewPage.ts @@ -128,7 +128,7 @@ export class SAMLProviderViewPage extends Page { )}