Added new trust token support for old 2SA method
This commit is contained in:
parent
c6fecebde6
commit
fc833555ac
1 changed files with 1 additions and 3 deletions
|
@ -414,9 +414,7 @@ class PyiCloudService(object):
|
||||||
return False
|
return False
|
||||||
raise
|
raise
|
||||||
|
|
||||||
# Re-authenticate, which will both update the HSA data, and
|
self.trust_session()
|
||||||
# ensure that we save the X-APPLE-WEBAUTH-HSA-TRUST cookie.
|
|
||||||
self.authenticate()
|
|
||||||
|
|
||||||
return not self.requires_2sa
|
return not self.requires_2sa
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue