mirror of
https://github.com/sigcn/pg.git
synced 2026-04-22 21:17:04 +08:00
pgcli/vpn: print success log when authenticated
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user