Customer Password Requirements

I want to force customers to use at least 6 characters for their password. Is there any way to do that using the standard CS-Cart, or do I need to seek an add-on or customization work?

[quote name='grayloon' timestamp='1391792774' post='177061']

I want to force customers to use at least 6 characters for their password. Is there any way to do that using the standard CS-Cart, or do I need to seek an add-on or customization work?

[/quote]



I am using V3.0.4 and in config.php I have this:

// Authentication settings

define('USER_PASSWORD_LENGTH', '8');



Regards

John

Sorry - I should have mentioned that I'm on version 2.2.5.

Hi,

That same setting is also found in the CS-Cart 2.2.5 config.php file.

I never tested in my store (2.2.5) but I would assume it would prevent any passwords under 8 characters.

After looking at the 2.2.5 /core/fn.users.php file, it seems the USER_PASSWORD_LENGTH setting is used when CS-Cart generates a random password.