sfPasswordComplexityValidatorPlugin - 1.0.0
Password Complexity Validation Plugin
You are currently browsing
the website for symfony 1
This plugin adds the ability to validate character contents and general complexity of a password.
sfPasswordComplexityValidator plugin adds the ability to validate character contents and general complexity of a password (alpha, numeric, special chars, length etc).
|Dave Camarillo||lead||moc.liamg <<ta>> olliramac.evad|
Copyright (c) 2009 DC Technical, LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
Contributed by DC Technical, LLC
sfPasswordComplexityValidator plugin adds the ability to validate character contents and general complexity of a password.
Install the plugin
symfony plugin:install sfPasswordComplexityValidator
Clear your cache
password: required: msg: You must enter a password. sfPasswordComplexityValidator: min_alpha_chars: 1 min_upper_alpha_chars: 0 min_lower_alpha_chars: 0 min_alpha_numeric_chars: 0 min_numeric_chars: 1 min_special_chars: 1 min_password_length: 8 max_password_length: 9999 complexity_error: Your password must contain at least 8 characters, contain alpha, numeric and special characters