File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ def gsa_authenticate(username, password):
113
113
spd = plist .loads (PLISTHEADER + spd )
114
114
115
115
if "au" in resp ["Status" ] and resp ["Status" ]["au" ] in ["trustedDeviceSecondaryAuth" , "secondaryAuth" ]:
116
- logger .info ("2FA required, requesting code" )
116
+ logger .info ("2FA required, requesting SMS code. (No other 2FA-code will work!) " )
117
117
# Replace bytes with strings
118
118
for k , v in spd .items ():
119
119
if isinstance (v , bytes ):
@@ -251,7 +251,7 @@ def sms_second_factor(dsid, idms_token):
251
251
timeout = 5
252
252
)
253
253
# Prompt for the 2FA code. It's just a string like '123456', no dashes or spaces
254
- code = input ("Enter 2FA code: " )
254
+ code = input ("Enter SMS 2FA code: " )
255
255
256
256
body ['securityCode' ] = {'code' : code }
257
257
You can’t perform that action at this time.
0 commit comments