Skip to content

Commit

Permalink
Allow wpcom site address login for Jetpack app
Browse files Browse the repository at this point in the history
  • Loading branch information
ashiagr committed Mar 2, 2022
1 parent b751840 commit 64af999
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ public void onFetchedConnectSiteInfo(OnConnectSiteInfoChecked event) {

if (mLoginListener.getLoginMode() == LoginMode.WOO_LOGIN_MODE) {
handleConnectSiteInfoForWoo(event.info);
} else if (mLoginListener.getLoginMode() == LoginMode.JETPACK_LOGIN_ONLY) {
} else if (!event.info.isWPCom && mLoginListener.getLoginMode() == LoginMode.JETPACK_LOGIN_ONLY) {
handleConnectSiteInfoForJetpack(event.info);
} else {
handleConnectSiteInfoForWordPress(event.info);
Expand Down

0 comments on commit 64af999

Please sign in to comment.