From ec2c8538d9da9aaa67dab8258a577ad8c115a5e2 Mon Sep 17 00:00:00 2001 From: halo Date: Wed, 5 Apr 2023 20:36:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A6=96=E6=AC=A1=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E5=BC=BA=E5=88=B6=E5=BC=80=E5=90=AFMFA=E9=A1=B5=E9=9D=A2bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/users/serializers/profile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/users/serializers/profile.py b/apps/users/serializers/profile.py index c3ae5b028..7502a7525 100644 --- a/apps/users/serializers/profile.py +++ b/apps/users/serializers/profile.py @@ -115,6 +115,7 @@ class UserProfileSerializer(UserSerializer): MFA_LEVEL_CHOICES = ( (0, _('Disable')), (1, _('Enable')), + (2, _("Force enable")), ) public_key_comment = serializers.CharField( source='get_public_key_comment', required=False, read_only=True, max_length=128