Browse Source

Remove mfa support for testing

master
Gregory Rudolph 3 years ago
parent
commit
b691a55126
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 1
      login.go

1
login.go

@ -13,7 +13,6 @@ func noDevice(ctx context.Context, devices []tesla.Device) (d tesla.Device, pass @@ -13,7 +13,6 @@ func noDevice(ctx context.Context, devices []tesla.Device) (d tesla.Device, pass
func login(ctx context.Context, username string, password string) (string, error) {
client, err := tesla.NewClient(
ctx,
tesla.WithMFAHandler(noDevice),
tesla.WithCredentials(username, password),
)
if err != nil {

Loading…
Cancel
Save