Tips and Tricks HQ Support Portal › Forums › WP eMember › Require strong passwords without loging into wordpress
- This topic has 5 replies, 3 voices, and was last updated 7 years ago by kencope.
-
AuthorPosts
-
October 6, 2017 at 11:11 pm #14455kencopeSpectator
Hi,
I wonder if you can help me?
I have a two tier membership 2=customer and 3=subscriber. I would like to enforce strong passwords in registration but this doesn’t seem possible eg a subscriber can have a weak password e.g. oranges and be accepted without problem. Is there any way to strengthen this, please?
Oh, just thought I should add that I have used the Form Builder add-on (because I needed a bit more functionality than the default uses) and the Password error pops up when less than four characters are used – it will accept four characters not the six mentioned elsewhere.
Many thanks,
Ken
October 7, 2017 at 4:11 am #76546wzpModeratorYou can “tinker” with the password validation code, in the eMember_registration_utils.php file.
https://support.tipsandtricks-hq.com/forums/topic/emember-how-to-increase-minimum-password-length
If your version of eMember (more than 2 months old) is accepting less than 6 characters; consider updating the plugin.
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
October 7, 2017 at 10:29 am #76547kencopeSpectatorThanks wzp,
I’ve tried the solution in the first link, backing up the original eMember_registration_utils.php first and reset the fields, first to 6 and then to 8, but I could still enter only 4 characters for the password and it was accepted.
My version was only purchased in September, however, I have downloaded the plugin afresh from the reinstall link provided – the plugin went from version 9.2.3 to 9.2.4. so there was a difference, but the registration form still will accept only 4 characters. I also re-installed the wp eCart and eMember Form Builder add-on but there has been no change.
I really would like this to default to 8 and show the pop-up as requiring 8 not the 4 it currently shows. I’m happy to make adjustments to this via my child theme if at all possible.
October 7, 2017 at 11:58 am #76548kencopeSpectatorOne other thing, would it be possible to call the class eMember_Rand_Pass_Utility into a form so that the form itself would generate the random secure password automatically?
October 8, 2017 at 12:39 am #76549adminKeymasterI have updated the form builder to also require 6 characters (so it is the same as the core plugin’s registration form). I have sent you an update via email.
October 8, 2017 at 7:04 am #76550kencopeSpectatorHi admin,
Thank you very much, I really appreciate the swift response.
Kind regards,
Ken
-
AuthorPosts
- You must be logged in to reply to this topic.