Skip to:
Content
Pages
Categories
Search
Top
Bottom

Disable password generation on registration form


  • stevecurrey
    Participant

    @stevecurrey

    Hi all,

    Can anyone tell me how I go about disabling the auto generation of the strong password on the registration form?

    The users of my site are not very tech savvy and they tend to register without taking note of the password then have to reset it.

    I get daily complaints…

    The password strength notices are fine so that isn’t a problem.

    Many thanks in advance!

    Stephen.

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

  • stevecurrey
    Participant

    @stevecurrey

    Hi

    Does anyone know how to do this?

    With JQuery maybe? I keep getting requests to turn it off.

    Kind regards,

    Stephen.

    They can choose the password of their choice and use the checkbox to confirm the use of weak password if needed.

    Having a password to log in is required. Having a strong password is important for the safety of your site.

    Disabling this feature would be too bad imho. But you can always override the /members/register.php from a /buddypress/members/register.php template in your active theme (or better child theme).


    stevecurrey
    Participant

    @stevecurrey

    Hi

    Thanks for reply.

    I do not want to disable the strong password requirement or warning, simply the randomly generated strong password on the regsiter screen (eg. ‘fhY&8_gmn(.*)

    What is happening is that my users (not very tech savvy) are not taking a note of this password and registering. They then have to reset it and we are losing users this way (they get confused very easily).

    It’s not something I’ve seen on other sites.

    Is there any way I can turn off the auto-generated password on this screen?

    Thank you

    Yes, the easiest way is to activate the BP Legacy Template Pack from the BuddyPress Options screen into your WordPress Dashboard.

    Using the WordPress control for generating passwords is a BP Nouveau only feature. The benefits of it is to have the same control than WordPress (eg: when your member are resetting their passwords from the site.url/wp-login.php page).


    stevecurrey
    Participant

    @stevecurrey

    Many thanks – will take a look.

    Stephen.


    comminski
    Participant

    @comminski

    I think you can also disable the generated password on the registration page for the nouveau theme by adding the following code to functions.php

    add_action( 'bp_before_register_page', 'bp_page_signup_disable_random_password');
    function bp_page_signup_disable_random_password(){
      add_filter( 'random_password', '__return_empty_string' );
    }
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar