mirror of https://github.com/jumpserver/jumpserver
perf: change i18n
parent
f8953441e3
commit
9dbdd6ac60
|
@ -193,6 +193,9 @@ class UserLoginView(mixins.AuthMixin, UserLoginContextMixin, FormView):
|
|||
if self.request.GET.get("admin", 0):
|
||||
return None
|
||||
|
||||
if not settings.XPACK_ENABLED:
|
||||
return None
|
||||
|
||||
auth_types = [m for m in self.get_support_auth_methods() if m.get('auto_redirect')]
|
||||
if not auth_types:
|
||||
return None
|
||||
|
|
|
@ -978,7 +978,7 @@
|
|||
"SelectByAttr": "Attribute Filter",
|
||||
"SelectFile": "Select File",
|
||||
"SelectKeyOrCreateNew": "Select Tag Key or Create New One",
|
||||
"SelectLabelFilter": "Select tag for search",
|
||||
"SelectLabelFilter": "Select label for search",
|
||||
"SelectPlatforms": "Select Platform",
|
||||
"SelectProperties": "Attributes",
|
||||
"SelectResource": "Select Resources",
|
||||
|
|
Loading…
Reference in New Issue