mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 17:29:15 +08:00
fixed node pwd issue
This commit is contained in:
@@ -103,8 +103,8 @@ func JoinNetwork(cfg config.ClientConfig, privateKey string) error {
|
||||
}
|
||||
if cfg.Node.Password == "" {
|
||||
cfg.Node.Password = GenPass()
|
||||
auth.StoreSecret(cfg.Node.Password, cfg.Node.Network)
|
||||
}
|
||||
auth.StoreSecret(cfg.Node.Password, cfg.Node.Network)
|
||||
if cfg.Node.Endpoint == "" {
|
||||
if cfg.Node.IsLocal == "yes" && cfg.Node.LocalAddress != "" {
|
||||
cfg.Node.Endpoint = cfg.Node.LocalAddress
|
||||
|
Reference in New Issue
Block a user