From b691a55126724e03fa8e39d6ba1bb957039806cb Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Fri, 9 Jul 2021 23:48:12 -0400 Subject: [PATCH] Remove mfa support for testing --- login.go | 1 - 1 file changed, 1 deletion(-) diff --git a/login.go b/login.go index 7ca4001..76dfadb 100644 --- a/login.go +++ b/login.go @@ -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 {