Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 General
 Suggestions - NOT QUESTIONS
 Minimum account password characters
Author « Topic »  

1818charlie
ECT Moderator

United Kingdom
1180 Posts

Posted - 11/15/2023 :  01:11:17  
The minimum password length was introduced in version 7.0.1

This is what is stated - A minimum of 6 characters has been enforced when creating an account password, and any character is now allowed meaning your customer can use special characters and punctuation. If you do not want to enforce a 6 character limit you can add the following parameter to your vsadmin/includes.php file...

Is there any way that the current minimum 6 characters for clients creating an account, or a fully sitewide rule for all passwords, can be upped to 10, or a choice upwards of the default 6? An includes entry to facilitate this would be a nice addition, if that's possible.

I originally posted this in the PHP section in mid Sept, but gained zero response

Vince
Administrator

42473 Posts

Posted - 11/15/2023 :  01:46:46  
Hi Steve
That length is a bit hard-coded I'm afraid with this line in the ectcart.js file...

if(!nocustomerloginpwlimit&&tobj.value.length<6){

Could you maybe change that manually for now?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

1818charlie
ECT Moderator

United Kingdom
1180 Posts

Posted - 11/15/2023 :  01:59:00  
Hi Vince

Yes I shall give that a whirl.

UPDATE @ 22:10 UK time

That has worked & is forcing a 10 character minimum limit. Now all I need to know is where is the following message re the minimum 6 character limit generated from so that I can change that to reflect the min limit?


-----------------------------------------------
Steve
Manchester UK

Edited by - 1818charlie on 11/15/2023 14:16:13

Vince
Administrator

42473 Posts

Posted - 11/15/2023 :  15:19:40  
Hi Steve
If you check in incfunctions.php for...

<?php print jscheck(strreplace('%s',6,$GLOBALS['xxMinLen']))?>

...and change the "6" there that should do it.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

1818charlie
ECT Moderator

United Kingdom
1180 Posts

Posted - 11/15/2023 :  16:21:31  
Hi Vince

Spot-on, thanks
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0 seconds. Snitz Forums 2000