BuddyDev

Search

Password default input type "text" instead of "password" Noveau

  • Participant
    entusiast on #36185

    Hi there,

    I’ve been scratching my head for a while with this now- and buddypress doesn’t seem to have time get back to me.

    I’ve disabled the autogenerated password in the registration form. I now need to change the default;

    <input type=”TEXT” data-reveal=”1″ name=”signup_password” id=”pass1″ class=”password-entry empty” size=”24″ value=”” data-pw=”” aria-describedby=”pass-strength-result” spellcheck=”false” autocomplete=”off”>

    …to become…

    <input type=”PASSWORD” data-reveal=”1″ name=”signup_password” id=”pass1″ class=”password-entry empty” size=”24″ value=”” data-pw=”” aria-describedby=”pass-strength-result” spellcheck=”false” autocomplete=”off”>

    … in default when a visitor lands on the page. In all BP files I’ve looked in, I only see the input type=”password” set. I must be missing something, as I’m obviously experiencing the opposite on the front-end.

    I’d really appreciate if someone could point me in the right direction in order to find a solution asap.

  • Keymaster
    (BuddyDev Team)
    Posts: 22218
    Brajesh Singh on #36201

    Hi,
    Please put this code in your bp-custom.php or theme’s functions.php

    
    
    add_action( 'bp_nouveau_enqueue_scripts', function () {
    	wp_dequeue_script( 'user-profile' );
    } );
    
    

    Let me know if it works or not?

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved