mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-11-12 13:48:53 +00:00
Secure (#2946)
* [Update] 修改assets * [Update] 添加关闭terminal注册的设置 * [Update] 去掉sql打印
This commit is contained in:
@@ -192,6 +192,11 @@ class SecuritySettingForm(BaseForm):
|
||||
required=False, label=_("Batch execute commands"),
|
||||
help_text=_("Allow user batch execute commands")
|
||||
)
|
||||
SECURITY_SERVICE_ACCOUNT_REGISTRATION = forms.BooleanField(
|
||||
required=False, label=_("Service account registration"),
|
||||
help_text=_("Allow using bootstrap token register service account, "
|
||||
"when terminal setup, can disable it")
|
||||
)
|
||||
# limit login count
|
||||
SECURITY_LOGIN_LIMIT_COUNT = forms.IntegerField(
|
||||
min_value=3, max_value=99999,
|
||||
|
||||
Reference in New Issue
Block a user