ustwo/US2FormValidator — pull request #4 by alexefish (2012-05-08 09:22:38+00:00)
Title: Added password strength validation

The strength of a password string is measured on five simple criteria:

* contains lower case characters
* contains upper case characters
* contains numeric characters
* contains special characters (e.g /';~)
* is more than 8 characters long

A valid string is more than or equal to the required strength. Password strengths are enumerator values, for each of the matched criteria (above) the strength is moved up one value:

US2PasswordStrengthVeryWeak
US2PasswordStrengthWeak
US2PasswordStrengthMedium (Default Value)
US2PasswordStrengthStrong
US2PasswordStrengthVeryStrong