From acf65eafdd6217e1b948a8fbb780599e7fb43ab4 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 7 Mar 2019 14:14:49 +0100 Subject: [PATCH] make naming of Providers more consistent --- passbook/oauth_provider/models.py | 2 +- passbook/saml_idp/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/passbook/oauth_provider/models.py b/passbook/oauth_provider/models.py index cc63d43bb..8334050d2 100644 --- a/passbook/oauth_provider/models.py +++ b/passbook/oauth_provider/models.py @@ -12,7 +12,7 @@ class OAuth2Provider(Provider, AbstractApplication): form = 'passbook.oauth_provider.forms.OAuth2ProviderForm' def __str__(self): - return self.name + return "OAuth2 Provider %s" % self.name class Meta: diff --git a/passbook/saml_idp/models.py b/passbook/saml_idp/models.py index c10932306..42589e574 100644 --- a/passbook/saml_idp/models.py +++ b/passbook/saml_idp/models.py @@ -36,7 +36,7 @@ class SAMLProvider(Provider): return self._processor def __str__(self): - return "SAMLProvider %s (processor=%s)" % (self.name, self.processor_path) + return "SAML Provider %s" % self.name def link_download_metadata(self): """Get link to download XML metadata for admin interface"""