mirror of https://github.com/jumpserver/jumpserver
fix(system_user): 修复更新系统用户时ad_domain字段为空提交失败的问题
parent
448c5db3bb
commit
18d8f59bb5
|
@ -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…
Reference in New Issue