Browse Source

fix(account): 修复应用账号前端不对的问题

pull/6645/head
ibuler 3 years ago committed by 老广
parent
commit
84e60283b8
  1. 1
      apps/applications/serializers/application.py

1
apps/applications/serializers/application.py

@ -68,6 +68,7 @@ class ApplicationSerializer(ApplicationSerializerMixin, BulkOrgResourceModelSeri
class ApplicationAccountSerializer(serializers.Serializer):
id = serializers.ReadOnlyField(label=_("Id"), source='uid')
username = serializers.ReadOnlyField(label=_("Username"))
password = serializers.CharField(write_only=True, label=_("Password"))
systemuser = serializers.ReadOnlyField(label=_('System user'))

Loading…
Cancel
Save