提交 907f0068 编写于 作者: B Bai

[Update] 修改用户profile序列类2

上级 a16b3260
......@@ -217,7 +217,7 @@ class UserProfileSerializer(UserSerializer):
'name': {'read_only': True, 'max_length': 128},
'username': {'read_only': True, 'max_length': 128},
'email': {'read_only': True},
# 'mfa_level': {'read_only': True},
'is_first_login': {'label': _('Is first login'), 'read_only': False},
'source': {'read_only': True},
'is_valid': {'read_only': True},
'is_active': {'read_only': True},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册