Title: Disable Randomly Generated Passwords
Last modified: August 30, 2016

---

# Disable Randomly Generated Passwords

 *  Resolved [Zain Sohail](https://wordpress.org/support/users/zainsohail19/)
 * (@zainsohail19)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/disable-randomly-generated-passwords/)
 * Hello, is there a way to disable randomly generated passwords by “New User Approve”
   Plugin and let the users use the password they selected when registering to the
   website?
 * Thanks ..
 * [https://wordpress.org/plugins/new-user-approve/](https://wordpress.org/plugins/new-user-approve/)

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

 *  [Josh Harrison](https://wordpress.org/support/users/picklewagon/)
 * (@picklewagon)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/disable-randomly-generated-passwords/#post-6188635)
 * You absolutely can bypass the password reset.
 * `add_filter( 'new_user_approve_do_password_reset', '__return_false' );`
 *  [snowfence](https://wordpress.org/support/users/snowfence/)
 * (@snowfence)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/disable-randomly-generated-passwords/#post-6188772)
 * Where would you add this filter at?
    Thanks
 *  [snowfence](https://wordpress.org/support/users/snowfence/)
 * (@snowfence)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/disable-randomly-generated-passwords/#post-6188773)
 * Disregard, I found it.
 * If anyone is looking, go to PLUGINS, INSTALLED PLUGINS, NEW USER APPROVE, EDIT,
   PROCEED and paste the code from above in the very last line.
 *  [renangmi](https://wordpress.org/support/users/renangmi/)
 * (@renangmi)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/disable-randomly-generated-passwords/#post-6188775)
 * Thank you, snowfence! This procedure should be included in the FAQ.
 *  [Josh Harrison](https://wordpress.org/support/users/picklewagon/)
 * (@picklewagon)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/disable-randomly-generated-passwords/#post-6188776)
 * You can add it to your functions.php file in your current theme. That is the 
   easiest way to do it. I would not recommend modifying the plugin code as that
   will update and your changes will get lost.
 *  [snowfence](https://wordpress.org/support/users/snowfence/)
 * (@snowfence)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/disable-randomly-generated-passwords/#post-6188779)
 * Josh, first, love the plugin.
 * To get to the functions.php is it this way?
    from HOME, click on APPEARANCE then
   EDITOR, on the right side of screen fing FUNCTIONS.PHP select PROCEED then scroll
   to the bottom of the text and paste it in there?
 * Thanks
 *  [renangmi](https://wordpress.org/support/users/renangmi/)
 * (@renangmi)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/disable-randomly-generated-passwords/#post-6188780)
 * Snowfence. You have to edit the functions.php at wp-content/themes/your-theme
 * I recommend using a child theme.
 *  [Josh Harrison](https://wordpress.org/support/users/picklewagon/)
 * (@picklewagon)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/disable-randomly-generated-passwords/#post-6188781)
 * Yes. It is best to use a child theme if it is possible. You have the right idea
   though. In any case, it is a good way to see if it works as you would like.
 *  [ruipdguerra](https://wordpress.org/support/users/ruipdguerra/)
 * (@ruipdguerra)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/disable-randomly-generated-passwords/#post-6188796)
 * I have added your code to my functions.php
 * `add_filter( 'new_user_approve_do_password_reset', '__return_false' );`
 * But when the user is approved the welcome email doesnt show the tag {password}.
   
   Any ideas how can i send the user password in the email?

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

The topic ‘Disable Randomly Generated Passwords’ is closed to new replies.

 * ![](https://ps.w.org/new-user-approve/assets/icon-128x128.gif?rev=2544141)
 * [New User Approve](https://wordpress.org/plugins/new-user-approve/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/new-user-approve/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/new-user-approve/)
 * [Active Topics](https://wordpress.org/support/plugin/new-user-approve/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/new-user-approve/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/new-user-approve/reviews/)

 * 9 replies
 * 5 participants
 * Last reply from: [ruipdguerra](https://wordpress.org/support/users/ruipdguerra/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/disable-randomly-generated-passwords/#post-6188796)
 * Status: resolved