feat: spawn new session for login

This commit is contained in:
Sheen Capadngan
2025-06-03 02:59:07 +08:00
parent f9ebb919e5
commit ce97179b49
7 changed files with 867 additions and 884 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ var initCmd = &cobra.Command{
if tokenResponse.MfaEnabled {
i := 1
for i < 6 {
mfaVerifyCode := util.AskForMFACode(tokenResponse.MfaMethod)
mfaVerifyCode := askForMFACode(tokenResponse.MfaMethod)
httpClient, err := util.GetRestyClientWithCustomHeaders()
if err != nil {