auth-plugins: updated display names of plugins, and root resource.

This commit is contained in:
Marcin Kuzminski 2018-11-21 18:51:34 +01:00
parent a7a5fe4247
commit fc6891786b
3 changed files with 3 additions and 3 deletions

View file

@ -64,7 +64,7 @@ class RhodeCodeAuthPlugin(RhodeCodeAuthPluginBase):
context=RhodecodeAuthnResource)
def get_display_name(self):
return _('Rhodecode')
return _('RhodeCode Internal')
@hybrid_property
def name(self):

View file

@ -67,7 +67,7 @@ class RhodeCodeAuthPlugin(RhodeCodeAuthPluginBase):
context=RhodecodeAuthnResource)
def get_display_name(self):
return _('Rhodecode Token Auth')
return _('Rhodecode Token')
@classmethod
def docs(cls):

View file

@ -58,7 +58,7 @@ class AuthnRootResource(AuthnResourceBase):
def __init__(self):
self._store = collections.OrderedDict()
self._resource_name_map = {}
self.display_name = _('Global')
self.display_name = _('Authentication Plugins')
def __getitem__(self, key):
"""