From 2b7a8d01c77991de38b37cd6ddfecb39d951d4c4 Mon Sep 17 00:00:00 2001 From: sunyu Date: Fri, 25 Sep 2020 13:50:47 +0800 Subject: [PATCH] fix bug --- templates/clients.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;