pgcli/vpn: print success log when authenticated

This commit is contained in:
rkonfj
2025-03-13 20:21:54 +08:00
parent a34f915aec
commit 5f0cc7d50c
+1
View File
@@ -364,6 +364,7 @@ func (v *P2PVPN) loginIfNecessary(ctx context.Context) (disco.SecretStore, error
if err != nil {
return nil, fmt.Errorf("request network secret failed: %w", err)
}
fmt.Println("Authentication successful")
return store, store.UpdateNetworkSecret(joined)
}