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):
|
if self.request.GET.get("admin", 0):
|
||||||
return None
|
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')]
|
auth_types = [m for m in self.get_support_auth_methods() if m.get('auto_redirect')]
|
||||||
if not auth_types:
|
if not auth_types:
|
||||||
return None
|
return None
|
||||||
|
|
|
@ -978,7 +978,7 @@
|
||||||
"SelectByAttr": "Attribute Filter",
|
"SelectByAttr": "Attribute Filter",
|
||||||
"SelectFile": "Select File",
|
"SelectFile": "Select File",
|
||||||
"SelectKeyOrCreateNew": "Select Tag Key or Create New One",
|
"SelectKeyOrCreateNew": "Select Tag Key or Create New One",
|
||||||
"SelectLabelFilter": "Select tag for search",
|
"SelectLabelFilter": "Select label for search",
|
||||||
"SelectPlatforms": "Select Platform",
|
"SelectPlatforms": "Select Platform",
|
||||||
"SelectProperties": "Attributes",
|
"SelectProperties": "Attributes",
|
||||||
"SelectResource": "Select Resources",
|
"SelectResource": "Select Resources",
|
||||||
|
|
Loading…
Reference in New Issue