providers/saml: fix redirect error

This commit is contained in:
Jens Langhammer 2021-02-16 19:28:18 +01:00
parent 61772b75ff
commit 0901d7461e

View file

@ -55,7 +55,6 @@ class MetadataImportView(LoginRequiredMixin, FormView):
form_class = SAMLProviderImportForm
template_name = "providers/saml/import.html"
success_url = reverse_lazy("authentik_admin:providers")
def dispatch(self, request, *args, **kwargs):
if not request.user.is_superuser: