Skip to content
Snippets Groups Projects
Commit 7545705c authored by Saleem Latif's avatar Saleem Latif
Browse files

Deleted SAML Identity provider appears in the Enterprise customer IdPs list.

parent 062b04ae
Branches
Tags release-2020-07-02-00.53
No related merge requests found
......@@ -66,7 +66,7 @@ class SAMLProviderConfigAdmin(KeyedConfigurationModelAdmin):
"""
with transaction.atomic():
for obj in queryset:
self.model.objects.filter(pk=obj.pk).update(archived=True)
self.model.objects.filter(pk=obj.pk).update(archived=True, enabled=False)
self.message_user(request, _("Deleted the selected configuration(s)."))
def get_list_display(self, request):
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment