This is a Nouveau problem. The account part of the registration form looks nothing like the Legacy/Default. It needs to be addressed asap, passwords should be hidden by default on screens by default- ALWAYS. Please advice
I need the default setting…
<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 be….
<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”>
Unfortunately I can’t identify the default “text” input type coded anywere- https://buddypress.trac.wordpress.org/changeset/12397 … looking in /bp-templates/bp-nouveau/buddypress-functions.php at least… everywere I look I see “password” set.
Am I the only one facing this issue? :/ What am I missing, ANYONE?
P.S. Or alternatively changing this default…
<div class=”user-pass1-wrap”>
<div class=”wp-pwd”>
<div class=”password-input-wrapper”>
<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”>
<button type=”button” class=”button wp-hide-pw” aria-label=”Hide password”>
<span class=”dashicons dashicons-hidden” aria-hidden=”true”></span>
</button>
</div>
<div id=”pass-strength-result” aria-live=”polite” style=”display: block;” class=”empty”> </div>
</div>
<div class=”pw-weak” style=”display: none;”>
<label>
<input type=”checkbox” name=”pw_weak” class=”pw-checkbox”>
Confirm use of weak password </label>
</div>
</div>
to…
<div class=”user-pass1-wrap”>
<div class=”wp-pwd”>
<div class=”password-input-wrapper”>
<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”>
<button type=”button” class=”button wp-hide-pw” aria-label=”Hide password”>
<span class=”dashicons dashicons-hidden” aria-hidden=”true”></span>
</button>
</div>
<div id=”pass-strength-result” aria-live=”polite” style=”display: block;” class=”empty”> </div>
</div>
<div class=”pw-weak” style=”display: none;”>
<label>
<input type=”checkbox” name=”pw_weak” class=”pw-checkbox”>
Confirm use of weak password </label>
</div>
</div>
Also looked at https://github.com/buddypress/BuddyPress/blob/master/src/bp-templates/bp-nouveau/buddypress/members/single/settings/general.php … and the same goes there, I’m just seeing “password” set as default.
P.S. I’m using elementor
P.S. Yes, I disabled the default autogenerated password and very happy with that… not interested in going back!
P.S. I’ve checked my bp_nouveau_signup_form() as well, code seems to be set to display Password =
function bp_nouveau_signup_form( $section = ‘account_details’ ) {
$fields = bp_nouveau_get_signup_fields( $section );
if ( ! $fields ) {
return;
}
foreach ( $fields as $name => $attributes ) {
if ( ‘signup_password’ === $name ) {
?>
<label for=”pass1″><?php esc_html_e( ‘Choose a Password (required)’, ‘buddypress’ ); ?></label>
<div class=”user-pass1-wrap”>
<div class=”wp-pwd”>
<div class=”password-input-wrapper”>
<input type=”password” data-reveal=”1″ name=”signup_password” id=”pass1″ class=”password-entry” size=”24″ value=”” <?php bp_form_field_attributes( ‘password’, array( ‘data-pw’ => wp_generate_password( 12 ), ‘aria-describedby’ => ‘pass-strength-result’ ) ); ?> />
<button type=”button” class=”button wp-hide-pw”>
<span class=”dashicons dashicons-hidden” aria-hidden=”true”></span>
</button>
</div>
<div id=”pass-strength-result” aria-live=”polite”><?php esc_html_e( ‘Strength indicator’, ‘buddypress’ ); ?></div>
</div>
<div class=”pw-weak”>
<label>
<input type=”checkbox” name=”pw_weak” class=”pw-checkbox” />
<?php esc_html_e( ‘Confirm use of weak password’, ‘buddypress’ ); ?>
</label>
</div>
</div>
… so question remains unanswered.
Until someone from BP decides to replay and help me resolve this issue, I’ll strongly advice everyone to think twice before deciding to go with this plugin for their project, or expect your visitors to become suspicious (with all their right) every time they see your registration form.
Anyone?? … Why is this piece of function bp_nouveau_signup_form( $section = ‘account_details’ ) :
<div class=”user-pass1-wrap”>
<div class=”wp-pwd”>
<div class=”password-input-wrapper”>
<input type=”password” data-reveal=”1″ name=”signup_password” id=”pass1″ class=”password-entry” size=”24″ value=”” <?php bp_form_field_attributes( ‘password’, array( ‘data-pw’ => wp_generate_password( 12 ), ‘aria-describedby’ => ‘pass-strength-result’ ) ); ?> />
<button type=”button” class=”button wp-hide-pw”>
<span class=”dashicons dashicons-hidden” aria-hidden=”true”></span>
</button>
</div>
… showing text on screen by default??