mirror of https://github.com/jumpserver/jumpserver
perf: 系统用户密码不再trim空格
parent
67d084fc43
commit
5c6f1730d5
|
@ -48,6 +48,7 @@ class SystemUserSerializer(AuthSerializerMixin, BulkOrgResourceModelSerializer):
|
|||
extra_kwargs = {
|
||||
'password': {
|
||||
"write_only": True,
|
||||
'trim_whitespace': False,
|
||||
"validators": [validate_password_contains_left_double_curly_bracket]
|
||||
},
|
||||
'public_key': {"write_only": True},
|
||||
|
|
Loading…
Reference in New Issue