mirror of https://github.com/jumpserver/jumpserver
parent
a423d241a5
commit
362c2a9509
|
@ -95,6 +95,8 @@ class AccountCreateUpdateSerializerMixin(serializers.Serializer):
|
|||
field.name for field in template._meta.fields
|
||||
if field.name not in ignore_fields
|
||||
]
|
||||
field_names = [name if name != '_secret' else 'secret' for name in field_names]
|
||||
|
||||
attrs = {}
|
||||
for name in field_names:
|
||||
value = getattr(template, name, None)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:762fb91213e28a5545cb4706bd0cd6097965b3bb4a234fa89d945428f36bab5d
|
||||
size 152159
|
||||
oid sha256:810d46e14e09a2309a8d898bc391f33082bfc5c164dec246bd95cea8436e33ee
|
||||
size 154540
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,3 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3656dfce61012412c97720e60c1134f39d0f5c1faed26bff88ca795ebce31f81
|
||||
size 125596
|
||||
oid sha256:da4f312ed86d27fa8b6bde8da3bc70b0f32fe40811ee855f9fe81d89a68a646f
|
||||
size 126402
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -96,3 +96,6 @@ REDIS_PORT: 6379
|
|||
# 仅允许已存在的用户登录,不允许第三方认证后,自动创建用户
|
||||
# ONLY_ALLOW_EXIST_USER_AUTH: False
|
||||
|
||||
# 当前存储的类型,默认 local,新增类型 hcp 为远端 vault 存储
|
||||
# VAULT_TYPE: local
|
||||
|
||||
|
|
Loading…
Reference in New Issue