diff --git a/client/ios/NetBirdSDK/client.go b/client/ios/NetBirdSDK/client.go index 08b4406b1..460332baa 100644 --- a/client/ios/NetBirdSDK/client.go +++ b/client/ios/NetBirdSDK/client.go @@ -204,7 +204,7 @@ func (c *Client) IsLoginRequired() bool { ConfigPath: c.cfgFile, }) - needsLogin, _ := internal.IsLoginRequired(ctx, cfg.PrivateKey, cfg.ManagementURL, cfg.SSHKey) + needsLogin, _ := internal.IsLoginRequired(ctx, cfg.PrivateKey, cfg.ManagementURL, cfg.SSHKey, &system.StaticInfo{}) return needsLogin } @@ -244,7 +244,7 @@ func (c *Client) LoginForMobile() string { return } jwtToken := tokenInfo.GetTokenToUse() - _ = internal.Login(ctx, cfg, "", jwtToken) + _ = internal.Login(ctx, cfg, "", jwtToken, &system.StaticInfo{}) c.loginComplete = true }() diff --git a/client/system/info_windows.go b/client/system/info_windows.go index 2e331d806..f12d19678 100644 --- a/client/system/info_windows.go +++ b/client/system/info_windows.go @@ -8,6 +8,7 @@ import ( "strings" log "github.com/sirupsen/logrus" + "github.com/yusufpapurcu/wmi" "golang.org/x/sys/windows/registry" "github.com/netbirdio/netbird/client/system/detect_cloud"