providers/saml: fix imported provider not saving properties correctly

This commit is contained in:
Jens Langhammer 2021-01-30 12:33:27 +01:00
parent a9a65ceca6
commit d8ae56ed19

View file

@ -76,6 +76,7 @@ class ServiceProviderMetadata:
provider.property_mappings.set( provider.property_mappings.set(
SAMLPropertyMapping.objects.filter(name__startswith="Autogenerated") SAMLPropertyMapping.objects.filter(name__startswith="Autogenerated")
) )
provider.save()
return provider return provider