From 1beebe93bb1395bcd4fc340c720163f54546e887 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 4 Jul 2024 09:32:01 -0400 Subject: [PATCH] Fixes #16780: IKE proposal created via REST API should not require authentication_algorithm --- netbox/vpn/api/serializers_/crypto.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/netbox/vpn/api/serializers_/crypto.py b/netbox/vpn/api/serializers_/crypto.py index 3ee30b754..d7a2777c6 100644 --- a/netbox/vpn/api/serializers_/crypto.py +++ b/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