{"id":6366976,"date":"2015-07-26T14:23:30","date_gmt":"2015-07-26T14:23:30","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/disable-wordpress-authentication\/"},"modified":"2016-08-30T16:08:57","modified_gmt":"2016-08-30T16:08:57","slug":"disable-wordpress-authentication","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/disable-wordpress-authentication\/","title":{"rendered":"Disable WordPress authentication"},"content":{"rendered":"<p>I&#8217;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&#8217;s functions.php, but to no avail:<\/p>\n<p><code>remove_action(&#039;authenticate&#039;, &#039;wp_authenticate_username_password&#039;, 20);<\/code><\/p>\n<p><code>remove_filter(&#039;authenticate&#039;, &#039;wp_authenticate_username_password&#039;, 20);<\/code><\/p>\n<p>Does anyone know a reliable way to disable WordPress passwords?<\/p>\n","protected":false},"template":"","class_list":["post-6366976","topic","type-topic","status-closed","hentry","topic-tag-authentication","topic-tag-password","topic-tag-remove_action","topic-tag-remove_filter"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6366976","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6366976\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6366976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}