This constraint allows the adminstrator to set the minimum number of character types required, but without actually dictating which ones must be used.
Real world example - Windows requires any 3 (user's choice) of uppercase, lowercase, numbers, or punctuation.
I'm sure some people may not see the point in having this, since the difference between this constraint and the existing functionality is really just a nuance.
However, it allows me to configure Drupal to be more in line with my company's password policy. Hopefully it will be of use to someone else as well.
Bill
| Comment | File | Size | Author |
|---|---|---|---|
| character_types.patch.txt | 1.98 KB | Anonymous (not verified) |
Comments
Comment #1
dayre commentedI think this is a useful constraint to add. Thanks very much Bill !
I've applied your patch to HEAD and 4-7. The 4-7 release was screwed up in that it didn't have the constraints folder as part of the distribution.. .i've fixed that and added your constraint and the patch to the module.
d