Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authCode error #326

Closed
Zero2key opened this issue Dec 25, 2024 · 1 comment · May be fixed by #331
Closed

authCode error #326

Zero2key opened this issue Dec 25, 2024 · 1 comment · May be fixed by #331

Comments

@Zero2key
Copy link

https://github.com/majd/ipatool/blame/8a23d6fadd6180d35614c2f7bcca0dccd6d9a64e/pkg/appstore/appstore_login.go#L73

if attempt == 1 {
    ac = ""
}

this line will remove authCode

tux-mind added a commit to tux-mind/ipatool that referenced this issue Jan 8, 2025
I though that the first attempt would not contain the 2fa code,
but I was wrong. This fixes the authentication when using 2fa enabled
accounts.

closes majd#326
@tux-mind
Copy link
Contributor

tux-mind commented Jan 8, 2025

Thank you a lot @Zero2key ! I overlooked this. For some weird reason it was working on some GUID, probably because it successfully logged in in the past.

@Zero2key Zero2key closed this as completed Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants