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

This commit is contained in:
Jeremy Stretch 2024-07-04 09:32:01 -04:00
parent a518579916
commit 7a88810a23

View File

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