diff --git a/templates/clients.html b/templates/clients.html index c095fc5..8c8d526 100644 --- a/templates/clients.html +++ b/templates/clients.html @@ -327,7 +327,7 @@ Wireguard Clients const client_id = $("#_client_id").val(); const name = $("#_client_name").val(); const email = $("#_client_email").val(); - const allocated_ips = $("#1").val().split(","); + const allocated_ips = $("#_client_allocated_ips").val().split(","); const allowed_ips = $("#_client_allowed_ips").val().split(","); const private_subnets = $("#_client_private_subnets").val().split(","); let enabled = false;