WordPress.org

Forums

New User Approve
User Set Password (6 posts)

  1. mairaj
    Member
    Posted 3 years ago #

    My users are being sent random passwords, why can't they use the one they choose while registering?

    Thank you.

    http://wordpress.org/extend/plugins/new-user-approve/

  2. kraigg
    Member
    Posted 3 years ago #

    I'm also noticing the same bug. New users successfully register with their own password, but are then assigned random passwords, which can be very confusing for them.

    Is there a setting to not assign random passwords?

  3. pantone
    Member
    Posted 3 years ago #

    I too am experiencing this. Basically, when a new user registers, the user is able to create their own username and password. After the registration is complete, the new user cannot log in until an admin has approved their account. This is fine.

    However, once the admin has approved the new user's account, the new user receives an email with a completely different password associated with their newly-approved account. Also, this new password overrides the password that the new user originally created.

    Is there a way to disable this plugin from setting new passwords for newly-approved users?

    I'd prefer for new users to be able to use the password that they set for themselves during registration.

  4. Christalv
    Member
    Posted 2 years ago #

    Were you able to find a solution for this issue?

  5. mairaj
    Member
    Posted 2 years ago #

    No solution yet, I'm not using the plugin now. Hope to see an update on this soon.

    regards

  6. thoaud
    Member
    Posted 2 years ago #

    In the new-user-approve.php you can edit the plugin to work as you want. I have just commented out the $newpass line, to fix the password reset. Like this:

    if ( ! $bypass_password_reset ) {
    			// reset password to know what to send the user
    			//$new_pass = wp_generate_password();

    Remember that you also should edit the email that is sent to the user. You do that here:

    // format the message
    		$message  = sprintf( __( 'You have been approved to access %s', $this->plugin_id ), get_option( 'blogname' ) ) . "\r\n";
    		$message .= sprintf( __( 'Username: %s', $this->plugin_id ), $user_login ) . "\r\n";
    		if ( ! $bypass_password_reset ) {
    			$message .= sprintf( __( 'Password: %s', $this->plugin_id ), $new_pass ) . "\r\n";

    Enjoy!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • New User Approve
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic