Title: Disable WordPress authentication
Last modified: August 30, 2016

---

# Disable WordPress authentication

 *  [cgjcr](https://wordpress.org/support/users/cgjcr/)
 * (@cgjcr)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/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.

## Tags

 * [authentication](https://wordpress.org/support/topic-tag/authentication/)
 * [password](https://wordpress.org/support/topic-tag/password/)
 * [remove_action](https://wordpress.org/support/topic-tag/remove_action/)
 * [remove_filter](https://wordpress.org/support/topic-tag/remove_filter/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [cgjcr](https://wordpress.org/support/users/cgjcr/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/disable-wordpress-authentication/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
