mirror of https://github.com/jumpserver/jumpserver
fix: 删除配置 PERIOD_TASK_ENABLED
parent
c14c89a758
commit
07cd930c0e
|
@ -14,7 +14,6 @@ class OtherSettingSerializer(serializers.Serializer):
|
||||||
)
|
)
|
||||||
OTP_VALID_WINDOW = serializers.IntegerField(label=_("OTP valid window"))
|
OTP_VALID_WINDOW = serializers.IntegerField(label=_("OTP valid window"))
|
||||||
|
|
||||||
PERIOD_TASK_ENABLED = serializers.BooleanField(required=False, label=_("Enable period task"))
|
|
||||||
WINDOWS_SSH_DEFAULT_SHELL = serializers.ChoiceField(
|
WINDOWS_SSH_DEFAULT_SHELL = serializers.ChoiceField(
|
||||||
choices=[
|
choices=[
|
||||||
('cmd', _("CMD")),
|
('cmd', _("CMD")),
|
||||||
|
@ -28,4 +27,8 @@ class OtherSettingSerializer(serializers.Serializer):
|
||||||
required=False, label=_("Perm single to ungroup node")
|
required=False, label=_("Perm single to ungroup node")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# 准备废弃
|
||||||
|
# PERIOD_TASK_ENABLED = serializers.BooleanField(
|
||||||
|
# required=False, label=_("Enable period task")
|
||||||
|
# )
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue