• Resolved lidiyam

    (@lidiyam)


    Hi

    I removed the password field in woocommerce registration page but when submitting the form am getting the following error:
    Error: Please enter an account password.

    Thank you,
    Lidiya

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Are you keen on removing the need for a password? Might be tricky to remove the need for it altogether. Just wondering the reason for that. If you’re concerned that passwords have to be quite complicated you can reduce the strength requirement with a code snippet:

      // WooCommerce - Set minimum password strength
      add_filter( 'woocommerce_min_password_strength', 'custom_password_strength' );
      function custom_password_strength( $strength ) {
        // 3 strong = default, 2 medium, 1 weak or anything
        return 1;
      }

    This goes in functions.php for your child theme or you can use the “My Custom Functions” plugin or similar.

    Thread Starter lidiyam

    (@lidiyam)

    Hi,

    when admin approve the new user registration, the user will get a mail with new password, so i don’t want to display a password field in registration.

    I don’t think admin approval is a WordPress feature? Not sure. WooCommerce is designed to allow users to register an account and buy without waiting for an admin.

    Can you say where its coming from? I know “All in One WP Security” has a “manually approve new registrations” feature. Probably Wordfence does as well. Or do you have another plugin that is enforcing manual registration approval?

    Thread Starter lidiyam

    (@lidiyam)

    Hi ,

    Am using Eonet Manual User Approve plugin.

    I got this to work by:
    – leave the form-login.php template unaltered
    – Dashboard > WooCommerce > Settings > Accounts & Privacy
    “When creating an account, automatically generate an account password” = checked

    The register password field does not appear and the new user does not have to think of one.

    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Howdy!

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please start a new thread.

    Cheers!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘remove password option in registeration page’ is closed to new replies.