mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-02 07:55:16 +00:00
fix: 应用账号attrs字段问题
This commit is contained in:
@@ -157,10 +157,7 @@ class AppAccountSecretSerializer(AppAccountSerializer):
|
||||
'id', 'app_display', 'attrs', 'username', 'password', 'private_key',
|
||||
'public_key', 'date_created', 'date_updated', 'version'
|
||||
]
|
||||
fields = [
|
||||
field_name for field_name in AppAccountSerializer.Meta.fields
|
||||
if field_name not in ['attrs']
|
||||
]
|
||||
|
||||
extra_kwargs = {
|
||||
'password': {'write_only': False},
|
||||
'private_key': {'write_only': False},
|
||||
|
Reference in New Issue
Block a user