update of extclient name

regenerate wg keys
This commit is contained in:
Matthew R Kasun 2023-03-28 10:12:05 -04:00
parent d41a1051fd
commit 60e340cf1b

View file

@ -196,6 +196,7 @@ func UpdateExtClient(newclientid string, network string, enabled bool, client *m
}
client.ClientID = newclientid
client.Enabled = enabled
client.PublicKey = ""
SetClientACLs(client, newACLs)
if err = CreateExtClient(client); err != nil {
return client, err