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

Commit 7e2c1db

Browse files
Merge pull request #3078 from wordpress-mobile/login/fix-sms-2fa
[Login] Fix the logic of triggering an SMS OTP
2 parents 029d4bc + 2710ee2 commit 7e2c1db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fluxc/src/main/java/org/wordpress/android/fluxc/network/rest/wpcom/auth/Authenticator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ public TwoFactorRequest(String appId, String appSecret, String username, String
234234
if (shouldSendTwoStepSMS && TextUtils.isEmpty(twoStepCode)) {
235235
mParams.put("wpcom_resend_otp", "true");
236236
}
237+
mParams.put("wpcom_supports_2fa", "true");
237238
}
238239
}
239240

0 commit comments

Comments
 (0)