defender::verify_password PHP Method

verify_password() protected method

Checks if is a valid password accepts minimum of 8 and maximum of 64 due to encrypt limit returns str the input or bool FALSE if check fails
protected verify_password ( )
    protected function verify_password()
    {
        // add min length, add max length, add strong password into roadmaps.
        if ($this->field_config['required'] && !$this->field_value) {
            self::setInputError($this->field_name);
        }
        if (preg_match("/^[0-9A-Z@!#\$%&\\/\\(\\)=\\-_?+\\*\\.,:;]{8,64}\$/i", $this->field_value)) {
            return $this->field_value;
        }
        return FALSE;
    }