소스 검색

Fixes #16780: IKE proposal created via REST API should not require authentication_algorithm

Jeremy Stretch 1 년 전
부모
커밋
7a88810a23
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      netbox/vpn/api/serializers_/crypto.py

+ 2 - 1
netbox/vpn/api/serializers_/crypto.py

@@ -25,7 +25,8 @@ class IKEProposalSerializer(NetBoxModelSerializer):
         choices=EncryptionAlgorithmChoices
     )
     authentication_algorithm = ChoiceField(
-        choices=AuthenticationAlgorithmChoices
+        choices=AuthenticationAlgorithmChoices,
+        required=False
     )
     group = ChoiceField(
         choices=DHGroupChoices