Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

eMember – how to increase minimum password length

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember – how to increase minimum password length

  • This topic has 4 replies, 4 voices, and was last updated 7 years, 11 months ago by MagicTH.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 5, 2015 at 8:09 pm #13129
    Marek
    Member

    Hello,

    the registration form request only 4 characters for the password.

    Is it possibille to increase the min. password length to 6 characters?

    The option “use strong password” would be very usefull.

    Thanks,

    Marek

    October 5, 2015 at 8:35 pm #71505
    wzp
    Moderator

    Update: This has been changed in the plugin. The minimum password length is set to 6


    1. Backup and edit the eMember_registration_utils.php file.
    2. Look for the following line:

      <input type=”password” id=”wp_emember_pwd” name=”wp_emember_pwd” autocomplete=”off” size=”20″ value=”” class=”validate[required,minSize[4]] eMember_text_input” />

    3. Change the value of: minSize[4]

      to: minSize[6]

    4. Save the file.

    July 14, 2017 at 10:49 pm #71506
    MagicTH
    Spectator

    I wanted this too. Before changing it I decided to see if ‘Edit Profile’ would let me enter a password shorter than 4 characters so I tried changing it to: abc

    It worked. So, if 4 or 6 or whatever is to be of any use, then it needs to be enforced in edit profile as well.

    I also tried Dashboard-eMember-Members. abc can be entered there as well. This is probably OK since only an Admin can change it there.

    July 15, 2017 at 12:44 am #71507
    admin
    Keymaster

    I have made a change in the plugin to take care of that.

    July 15, 2017 at 5:13 pm #71508
    MagicTH
    Spectator

    Wow! Fast turnaround for a coding change (2 hours from my post to a fix).

    Tested and working. Minimum is now 6 characters by default so I left it alone rather than have a custom fix to always worry about updating.

    Thanks!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ