Title: [Plugin: Register Plus] Remove auto-generated Password message
Last modified: August 19, 2016

---

# [Plugin: Register Plus] Remove auto-generated Password message

 *  [farrelldoc](https://wordpress.org/support/users/farrelldoc/)
 * (@farrelldoc)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-register-plus-remove-auto-generated-password-message/)
 * How do you eliminate the following message after a user logs in?
 * `Notice: You’re using the auto-generated password for your account. Would you
   like to change it to something you’ll remember easier?`
 * They are setting their own PW, so they shouldn’t see this message.
 * Thanks,
    Karen
 * [http://wordpress.org/extend/plugins/register-plus/](http://wordpress.org/extend/plugins/register-plus/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [otternox](https://wordpress.org/support/users/otternox/)
 * (@otternox)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-register-plus-remove-auto-generated-password-message/#post-1646331)
 * anyone come up with a solution yet?
 *  [WPsites](https://wordpress.org/support/users/wpsites/)
 * (@wpsites)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-register-plus-remove-auto-generated-password-message/#post-1646341)
 * Just had to do this a few minutes ago and thought I would share the code with
   everyone. It’s pretty straight forward
 * <?php
    //disable password nag function stop_password_nag( $val ){ return 0; }
   add_filter( ‘get_user_option_default_password_nag’ ,’stop_password_nag’ , 10 );?
   >
 *  [Tevya](https://wordpress.org/support/users/thefiddler/)
 * (@thefiddler)
 * [15 years ago](https://wordpress.org/support/topic/plugin-register-plus-remove-auto-generated-password-message/#post-1646342)
 * WPsites, where did you put this code? Just in the functions.php file?
 *  [Tevya](https://wordpress.org/support/users/thefiddler/)
 * (@thefiddler)
 * [15 years ago](https://wordpress.org/support/topic/plugin-register-plus-remove-auto-generated-password-message/#post-1646343)
 * For me, putting this in functions.php got rid of the password nag:
 *     ```
       function remove_default_password_nag() {
       global $user_ID;
       delete_user_setting('default_password_nag', $user_ID);
       update_user_option($user_ID, 'default_password_nag', false, true);
       }
       add_action('admin_init', 'remove_default_password_nag');
       ```
   
 *  [nguyenjustin](https://wordpress.org/support/users/nguyenjustin/)
 * (@nguyenjustin)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-register-plus-remove-auto-generated-password-message/#post-1646349)
 * You would be adding the above code of :
 * function stop_password_nag( $val ){
    return 0; } add_filter( ‘get_user_option_default_password_nag’,’
   stop_password_nag’ , 10 );
 * to the file user.php
 * which is located in the folder: /wp-admin/includes
 * Cheers mate.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: Register Plus] Remove auto-generated Password message’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/register-plus.svg)
 * [Register Plus](https://wordpress.org/plugins/register-plus/)
 * [Support Threads](https://wordpress.org/support/plugin/register-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/register-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/register-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/register-plus/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [nguyenjustin](https://wordpress.org/support/users/nguyenjustin/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-register-plus-remove-auto-generated-password-message/#post-1646349)
 * Status: not resolved