From 932d720986040321e0ef21360e0512d75071d09a Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Sat, 10 Jul 2021 11:15:17 -0400 Subject: [PATCH] Add token auth --- login.go | 1 - 1 file changed, 1 deletion(-) diff --git a/login.go b/login.go index 4f4e001..008bc87 100644 --- a/login.go +++ b/login.go @@ -17,7 +17,6 @@ func login(ctx context.Context, username string, password string, tok string) (s if tok != "" { client, err = tesla.NewClient( ctx, - tesla.WithMFAHandler(noDevice), tesla.WithToken(&oauth2.Token{ RefreshToken: tok, }),