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

pull/4078/head
Bai 2020-06-03 20:21:28 +08:00
parent a16b3260ba
commit 907f0068db
1 changed files with 1 additions and 1 deletions

View File

@ -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},