Description
On WCiOS we support site credential login for self-hosted sites with JP connection. In a previous attempt to add the site credential login option, we accidentally enabled that option for WPCom sites. This option is not functional as it's impossible to log in to WPCom sites with site credentials, so this PR fixes this by hiding that option for WPCom sites.
Testing steps
Test the demo app to ensure that the credential login button is not available in the default case.
Additionally, follow the steps in https://github.com/woocommerce/woocommerce-ios/pull/13623 to check the cases for WCiOS.
[x] I have considered if this change warrants release notes and have added them to the appropriate section in the CHANGELOG.md if necessary.
Part of https://github.com/woocommerce/woocommerce-ios/issues/13622
Description On WCiOS we support site credential login for self-hosted sites with JP connection. In a previous attempt to add the site credential login option, we accidentally enabled that option for WPCom sites. This option is not functional as it's impossible to log in to WPCom sites with site credentials, so this PR fixes this by hiding that option for WPCom sites.
Testing steps Test the demo app to ensure that the credential login button is not available in the default case. Additionally, follow the steps in https://github.com/woocommerce/woocommerce-ios/pull/13623 to check the cases for WCiOS.
CHANGELOG.md
if necessary.