##// END OF EJS Templates
auth-plugins: updated display names of plugins, and root resource.
marcink -
r3234:83285ea3 default
parent child Browse files
Show More
@@ -64,7 +64,7 b' class RhodeCodeAuthPlugin(RhodeCodeAuthP'
64 context=RhodecodeAuthnResource)
64 context=RhodecodeAuthnResource)
65
65
66 def get_display_name(self):
66 def get_display_name(self):
67 return _('Rhodecode')
67 return _('RhodeCode Internal')
68
68
69 @hybrid_property
69 @hybrid_property
70 def name(self):
70 def name(self):
@@ -67,7 +67,7 b' class RhodeCodeAuthPlugin(RhodeCodeAuthP'
67 context=RhodecodeAuthnResource)
67 context=RhodecodeAuthnResource)
68
68
69 def get_display_name(self):
69 def get_display_name(self):
70 return _('Rhodecode Token Auth')
70 return _('Rhodecode Token')
71
71
72 @classmethod
72 @classmethod
73 def docs(cls):
73 def docs(cls):
@@ -58,7 +58,7 b' class AuthnRootResource(AuthnResourceBas'
58 def __init__(self):
58 def __init__(self):
59 self._store = collections.OrderedDict()
59 self._store = collections.OrderedDict()
60 self._resource_name_map = {}
60 self._resource_name_map = {}
61 self.display_name = _('Global')
61 self.display_name = _('Authentication Plugins')
62
62
63 def __getitem__(self, key):
63 def __getitem__(self, key):
64 """
64 """
General Comments 0
You need to be logged in to leave comments. Login now