make naming of Providers more consistent

This commit is contained in:
Jens Langhammer 2019-03-07 14:14:49 +01:00
parent c2ebff55ef
commit acf65eafdd
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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"""