Disable WordPress authentication
-
I’ve written a plugin to use an alternative authentication method (checks username and password against an external database) but people are still able to log in using their WordPress password. I have tried using the following in both the plugin file, and in my theme’s functions.php, but to no avail:
remove_action('authenticate', 'wp_authenticate_username_password', 20);
remove_filter('authenticate', 'wp_authenticate_username_password', 20);
Does anyone know a reliable way to disable WordPress passwords?
- The topic ‘Disable WordPress authentication’ is closed to new replies.