Jump to content

Change the requirements for customer password


Recommended Posts

Hi,

 

You will find it in Validate.php

	/**
	 * Check for password validity
	 *
	 * @param string $passwd Password to validate
	 * @param int $size
	 * @return boolean Validity is ok or not
	 */
	public static function isPasswd($passwd, $size = Validate::PASSWORD_LENGTH)
	{
		return (Tools::strlen($passwd) >= $size && Tools::strlen($passwd) < 255);
	}

Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...