Skip to content

Commit

Permalink
Write send code response
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadoum committed May 30, 2024
1 parent 38e1a4a commit fb7a878
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/server/appleaccount.d
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ package class AppleAccount {
sendCode = () {
// urls["trustedDeviceSecondaryAuth"] to select the right phone number.
auto res = request.put("https://gsa.apple.com/auth/verify/phone/", `{"phoneNumber": {"id": 1}, "mode": "sms"}`);
log.infoF!"Code sent: %s"(res.responseBody().data!string());
return res.code == 200;
};
}
Expand Down

0 comments on commit fb7a878

Please sign in to comment.