diff --git a/passbook/providers/saml/processors/metadata.py b/passbook/providers/saml/processors/metadata.py index e24384c7b..8f8245239 100644 --- a/passbook/providers/saml/processors/metadata.py +++ b/passbook/providers/saml/processors/metadata.py @@ -105,4 +105,4 @@ class MetadataProcessor: for binding in self.get_bindings(): idp_sso_descriptor.append(binding) - return tostring(entity_descriptor).decode() + return tostring(entity_descriptor, pretty_print=True).decode() diff --git a/passbook/providers/saml/templates/providers/saml/admin_metadata_modal.html b/passbook/providers/saml/templates/providers/saml/admin_metadata_modal.html index 606711433..e535dd14e 100644 --- a/passbook/providers/saml/templates/providers/saml/admin_metadata_modal.html +++ b/passbook/providers/saml/templates/providers/saml/admin_metadata_modal.html @@ -1,24 +1,22 @@ {% load i18n %} {% load static %} - - -