From 7a88810a23bac96e42988c73fc4965b9fdf86450 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