mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-26 00:53:23 +08:00
remove secret
This commit is contained in:
parent
3a77f4df14
commit
0757bd87f6
2 changed files with 3 additions and 0 deletions
Binary file not shown.
|
@ -274,6 +274,9 @@ func WipeLocal(network string) error {
|
|||
if FileExists(home + "/nettoken-" + network) {
|
||||
_ = os.Remove(home + "/nettoken-" + network)
|
||||
}
|
||||
if FileExists(home + "/secret-" + network) {
|
||||
_ = os.Remove(home + "/secret-" + network)
|
||||
}
|
||||
if FileExists(home + "/wgkey-" + network) {
|
||||
_ = os.Remove(home + "/wgkey-" + network)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue