mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-19 10:26:27 +00:00
@@ -7,4 +7,4 @@ from ..const import ConfirmType, MFAType
|
||||
class ConfirmSerializer(serializers.Serializer):
|
||||
confirm_type = serializers.ChoiceField(required=True, allow_blank=True, choices=ConfirmType.choices)
|
||||
mfa_type = serializers.ChoiceField(required=False, allow_blank=True, choices=MFAType.choices)
|
||||
secret_key = EncryptedField()
|
||||
secret_key = EncryptedField(allow_blank=True)
|
||||
|
Reference in New Issue
Block a user