Blank access keys before writing config.

This commit is contained in:
cameronts 2022-08-31 03:59:33 -07:00
parent eec81e1849
commit 85c4080661

View file

@ -72,6 +72,7 @@ func Pull(network string, iface bool) (*models.Node, error) {
}
informPortChange(&resNode)
}
resNode.AccessKey = "" // don't store the access key on disk
if err = config.ModNodeConfig(&resNode); err != nil {
return nil, err
}