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

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -213,7 +213,7 @@ public PasswordRequest(String appId, String appSecret, String username, String p
public static class TwoFactorRequest extends OauthRequest {
public TwoFactorRequest(String appId, String appSecret, String username, String password, String twoStepCode,
boolean shouldSendTwoStepSMS, Listener listener, ErrorListener errorListener) {
super(TOKEN_ENDPOINT, appId, appSecret, listener, errorListener);
super(LOGIN_BASE_ENDPOINT, appId, appSecret, listener, errorListener);
mParams.put(USERNAME_PARAM_NAME, username);
mParams.put(PASSWORD_PARAM_NAME, password);
mParams.put(GRANT_TYPE_PARAM_NAME, PASSWORD_GRANT_TYPE);

0 comments on commit 17e84d5

Please sign in to comment.