[MB User Profile] Show password meter on registration form
Support › MB User Profile › [MB User Profile] Show password meter on registration formResolved
- This topic has 11 replies, 3 voices, and was last updated 6 years, 6 months ago by
Content Pilot.
-
AuthorPosts
-
January 29, 2019 at 6:18 AM #13150
Content Pilot
ParticipantIs it possible to show the password strength indicator on the registration form?
Looking through the shortcode source code this doesn't look possible nor do I see it on the available MB fields if I roll my own form.
Could this be added?
February 5, 2019 at 10:25 PM #13211Content Pilot
ParticipantAny thoughts on this Ahn?
February 6, 2019 at 12:09 AM #13218Content Pilot
ParticipantI followed this tutorial on how to attach the strength meter to the form.
I also add this function to echo the span for the JS to bind to.
add_action( 'rwmb_profile_before_submit_button', 'password_strength_meter_field' ); function password_strength_meter_field( $config ) { if ( 'register-form' === $config['form_id'] ) { echo '<span id="password-strength"></span>'; } }February 14, 2019 at 5:08 PM #13335Anh Tran
KeymasterHi Clayton,
Thanks a lot for your solution. I'll check it and add to the plugin.
February 28, 2019 at 10:43 AM #13502Anh Tran
KeymasterHi Clayton,
This feature is available in the latest version 1.2.0. Please update.
March 30, 2019 at 9:50 PM #13990[email protected]
ParticipantHello,
When I make a register, I see strong levels of the password:
Very weak = Is disabled the button register
Medium = Is disabled the button register
Strong = Is enabled the button registerThe Strong password is the only level that users can make a register. Exist any way to make posible to the register with the level medium too?
Thanks,
SergioApril 1, 2019 at 10:16 AM #13998Anh Tran
KeymasterHi Sergio,
Unfortunately, users are required to have strong password. There's no way to set the level to "medium" at the moment.
April 1, 2019 at 2:06 PM #14003[email protected]
Participantok thanks, and remove this feature, remove this action so it does not ask for any kind of password strength? Or is not posible too?
Thanks.
April 1, 2019 at 5:10 PM #14006Anh Tran
KeymasterThat's a good question. It's not available at the moment. I'll try to add another shortcode attribute to make it disable or able to set which password strength is acceptable.
April 1, 2019 at 6:44 PM #14010[email protected]
ParticipantIt would be great, thanks.
April 17, 2019 at 5:37 PM #14190Anh Tran
KeymasterAdded
password_strengthparameter in the latest version 1.3.0, which indicates the minimum required password strength (can be very-weak, weak, medium or strong).April 17, 2019 at 9:55 PM #14193Content Pilot
ParticipantAhn, this is very close. Thanks for adding it. It is working well for the first password field but does not use the Mismatch flag when working with two password fields. On my end, I have 2 password fields and put in matching strong passwords then added a few extra characters. The meter did not change to inform me that they are mismatched.
-
AuthorPosts
- You must be logged in to reply to this topic.