Skip to content

Commit

Permalink
fix trusted device 2FA (#39 and #42)
Browse files Browse the repository at this point in the history
  • Loading branch information
biemster committed Dec 11, 2023
1 parent 4f12426 commit 57e62b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypush_gsa_icloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def trusted_second_factor(dsid, idms_token):
)

# Prompt for the 2FA code. It's just a string like '123456', no dashes or spaces
code = getpass.getpass("Enter 2FA code: ")
code = getpass("Enter 2FA code: ")
headers["security-code"] = code

# Send the 2FA code to Apple
Expand Down

0 comments on commit 57e62b4

Please sign in to comment.