Browse Source

fix(system_user): 修复更新系统用户时ad_domain字段为空提交失败的问题

pull/4991/head
Bai 4 years ago committed by Jiangjie.Bai
parent
commit
18d8f59bb5
  1. 2
      apps/assets/serializers/system_user.py

2
apps/assets/serializers/system_user.py

@ -45,7 +45,7 @@ class SystemUserSerializer(AuthSerializerMixin, BulkOrgResourceModelSerializer):
'assets_amount': {'label': _('Assets amount')},
'login_mode_display': {'label': _('Login mode display')},
'created_by': {'read_only': True},
'ad_domain': {'label': _('Ad domain')},
'ad_domain': {'required': False, 'allow_blank': True, 'label': _('Ad domain')},
}
def validate_auto_push(self, value):

Loading…
Cancel
Save