Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

Commit

Permalink
Pass argument "wpcom_supports_2fa" when requesting a new 2FA code
Browse files Browse the repository at this point in the history
  • Loading branch information
hichamboushaba committed Aug 12, 2024
1 parent 029d4bc commit 2710ee2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ public TwoFactorRequest(String appId, String appSecret, String username, String
if (shouldSendTwoStepSMS && TextUtils.isEmpty(twoStepCode)) {
mParams.put("wpcom_resend_otp", "true");
}
mParams.put("wpcom_supports_2fa", "true");
}
}

Expand Down

0 comments on commit 2710ee2

Please sign in to comment.