mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-25 11:46:40 +00:00
re-add wmi
This commit is contained in:
@@ -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
|
||||
}()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user