mirror of https://github.com/jumpserver/jumpserver
fix: 修复系统用户命令过滤规则必填的问题
parent
92aeae4a2a
commit
1c3b574c46
|
@ -51,6 +51,7 @@ class SystemUserSerializer(AuthSerializerMixin, BulkOrgResourceModelSerializer):
|
|||
'trim_whitespace': False,
|
||||
"validators": [validate_password_contains_left_double_curly_bracket]
|
||||
},
|
||||
'cmd_filters': {"required": False},
|
||||
'public_key': {"write_only": True},
|
||||
'private_key': {"write_only": True},
|
||||
'token': {"write_only": True},
|
||||
|
|
Loading…
Reference in New Issue