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 10 replies - 1 through 10 (of 10 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.


    Mathieu Viet
    Moderator

    @imath

    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


    Mathieu Viet
    Moderator

    @imath

    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.


    markcummins
    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' );
    }

    ppp12345
    Participant

    @ppp12345

    Thank you comminski. Can anyone of you explain why BP doesn’t hide the password-input keys by default, and how to achieve this?


    ppp12345
    Participant

    @ppp12345

    Anyone?


    vtuncheff
    Participant

    @vtuncheff

    Hi I have the same problem as Stevecurrey. I can’t use the legacy because I’m using buddyx theme and the nuoveau is needed to the theme. I tried to implement the code from comminsky but unfortunately It is not working for me. Most probably I don’t paste it at the right place. Could someone give me the path and the name of the file and in which part of the file this code should go. Also if someone knows some plugin so we can edit the fields or text of the form would be great. Cheers


    vtuncheff
    Participant

    @vtuncheff

    Thank you

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Skip to toolbar