Disable Word Press from allowing saving of the username and password from the login screen

A plugin which isn’t in the Word Press list of available plugins is one I find very handy from Benjamin Uzelac.
It disables Word Press from allowing the browser to save the username and password and that’s it.
Its good for complying with the usual website tests, which flag saving a username and password as a high vulnerability (Like Qualys).
For some reason it states Author “Nobody” and was applied by a third party agency. The author has a file to download in the comments as well in their link below (I recommend using this ratheer than below, I just want to keep it in case it disappears).

Link: Benjamin Uzelac
Its simply create a folder in the plugin directy like “disable-login-autocomplete”, create a php file with a name like “disable-login-autocomplete.php” and copy the code from below, upload it to the plugin folder.

 * Plugin Name: Remove login autocomplete
 * Description: Disable login password autocomplete
 * Version: 0.1
 * Author: Nobody
 * License: WTFPL
add_action('login_init', 'acme_autocomplete_login_init');
function acme_autocomplete_login_init()
add_action('login_form', 'acme_autocomplete_login_form');
function acme_autocomplete_login_form()
    $content = ob_get_contents();
    $content = str_replace('id="user_pass"', 'id="user_pass" autocomplete="off"', $content);
    echo $content;