fix: 修复系统用户命令过滤规则必填的问题

pull/7354/head
Michael Bai 2021-12-09 19:42:49 +08:00 committed by Jiangjie.Bai
parent 92aeae4a2a
commit 1c3b574c46
1 changed files with 1 additions and 0 deletions

View File

@ -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},