auth-plugins: updated display names of plugins, and root resource.
This commit is contained in:
parent
a7a5fe4247
commit
fc6891786b
3 changed files with 3 additions and 3 deletions
|
|
@ -64,7 +64,7 @@ class RhodeCodeAuthPlugin(RhodeCodeAuthPluginBase):
|
|||
context=RhodecodeAuthnResource)
|
||||
|
||||
def get_display_name(self):
|
||||
return _('Rhodecode')
|
||||
return _('RhodeCode Internal')
|
||||
|
||||
@hybrid_property
|
||||
def name(self):
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue