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
1 changed files with 1 additions and 0 deletions

View File

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