mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-17 22:31:23 +08:00
update of extclient name
regenerate wg keys
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user