Created
June 14, 2017 21:22
-
-
Save chrisdavidmiles/3fe5a4175616a94cff95fb0e0857b57c to your computer and use it in GitHub Desktop.
Disable WordPress password authentication. User/Pass combination will always return false, even if correct password is used. Use only if alternate login methods are in place.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remove_filter('authenticate', 'wp_authenticate_username_password', 20, 3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment