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
|
||||
raise
|
||||
|
||||
# Re-authenticate, which will both update the HSA data, and
|
||||
# ensure that we save the X-APPLE-WEBAUTH-HSA-TRUST cookie.
|
||||
self.authenticate()
|
||||
self.trust_session()
|
||||
|
||||
return not self.requires_2sa
|
||||
|
||||
|
|
Loading…
Reference in a new issue