Set remember me to true to avoid Apple emails
This commit is contained in:
parent
1675a8dc11
commit
e14d22908d
2 changed files with 4 additions and 4 deletions
|
@ -281,7 +281,7 @@ class PyiCloudService(object):
|
||||||
|
|
||||||
data = dict(self.user)
|
data = dict(self.user)
|
||||||
|
|
||||||
data["rememberMe"] = False
|
data["rememberMe"] = True
|
||||||
data["trustTokens"] = []
|
data["trustTokens"] = []
|
||||||
if self.session_data.get("trust_token"):
|
if self.session_data.get("trust_token"):
|
||||||
data["trustTokens"] = [self.session_data.get("trust_token")]
|
data["trustTokens"] = [self.session_data.get("trust_token")]
|
||||||
|
@ -316,7 +316,7 @@ class PyiCloudService(object):
|
||||||
data = {
|
data = {
|
||||||
"accountCountryCode": self.session_data.get("account_country"),
|
"accountCountryCode": self.session_data.get("account_country"),
|
||||||
"dsWebAuthToken": self.session_data.get("session_token"),
|
"dsWebAuthToken": self.session_data.get("session_token"),
|
||||||
"extended_login": False,
|
"extended_login": True,
|
||||||
"trustToken": self.session_data.get("trust_token", ""),
|
"trustToken": self.session_data.get("trust_token", ""),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -188,7 +188,7 @@ LOGIN_WORKING = {
|
||||||
"settings",
|
"settings",
|
||||||
],
|
],
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"isExtendedLogin": False,
|
"isExtendedLogin": True,
|
||||||
"pcsServiceIdentitiesIncluded": True,
|
"pcsServiceIdentitiesIncluded": True,
|
||||||
"hsaChallengeRequired": False,
|
"hsaChallengeRequired": False,
|
||||||
"requestInfo": {"country": "FR", "timeZone": "GMT+1", "region": "IDF"},
|
"requestInfo": {"country": "FR", "timeZone": "GMT+1", "region": "IDF"},
|
||||||
|
@ -381,7 +381,7 @@ LOGIN_2FA = {
|
||||||
"settings",
|
"settings",
|
||||||
],
|
],
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"isExtendedLogin": False,
|
"isExtendedLogin": True,
|
||||||
"pcsServiceIdentitiesIncluded": False,
|
"pcsServiceIdentitiesIncluded": False,
|
||||||
"hsaChallengeRequired": True,
|
"hsaChallengeRequired": True,
|
||||||
"requestInfo": {"country": "FR", "timeZone": "GMT+1", "region": "IDF"},
|
"requestInfo": {"country": "FR", "timeZone": "GMT+1", "region": "IDF"},
|
||||||
|
|
Loading…
Reference in a new issue