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.ClientID = newclientid
client.Enabled = enabled client.Enabled = enabled
client.PublicKey = ""
SetClientACLs(client, newACLs) SetClientACLs(client, newACLs)
if err = CreateExtClient(client); err != nil { if err = CreateExtClient(client); err != nil {
return client, err return client, err