Skip to content
Snippets Groups Projects
Unverified Commit 7a9e098b authored by Saleem Latif's avatar Saleem Latif Committed by GitHub
Browse files

Merge pull request #17956 from edx/saleem-latif/ENT-959

ENT-959: Deleted SAML Identity provider appears in the Enterprise customer IdPs list.
parents 062b04ae 7545705c
Branches
Tags release-2019-06-19-11.15
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