Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SSO: Show wp-admin login form if site has local users (#39139)
Stops enforcing the WP.com login for Atomic sites with local users. Previously, we were disabling the enforced WP.com login on sites with the classic interface (except for users coming from Calypso), and kept it on sites with the default interface. However, sites with the default interface can have local users as well (users not connected to WP.com) who are unable to use their wp-admin credentials to log in into wp-admin. This commit fixes that by changing who is enforced to log in with a WP.com account: - Sites without local users: - WP.com login, always. - Sites with local users: - If user comes from Calypso: WP.com login - Otherwise: Jetpack SSO login, so they can decide whether to use a WP.com account or a local account.
- Loading branch information