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

pull/4991/head
Bai 2020-11-13 14:46:25 +08:00 committed by Jiangjie.Bai
parent 448c5db3bb
commit 18d8f59bb5
1 changed files with 1 additions and 1 deletions

View File

@ -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):