Skip to content

Instantly share code, notes, and snippets.

@iomarmochtar
Created May 17, 2017 02:10
Show Gist options
  • Save iomarmochtar/9705bbc7d0e16570cd04f217395f4c72 to your computer and use it in GitHub Desktop.
Save iomarmochtar/9705bbc7d0e16570cd04f217395f4c72 to your computer and use it in GitHub Desktop.
password policy that will be used for Custom_Password_Validator.php
<?php
// password policy that will be used for Custom_Password_Validator.php
define('POLICY_MAX_LENGTH', 0);
define('POLICY_MIN_LENGTH', 5);
define('POLICY_MIN_UPPERCASE', 1);
define('POLICY_MIN_NUMERIC', 1);
define('POLICY_MIN_PUNCTUATION', 1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment