CodeIgniter Strong Password Validation |
Example file using callback to validate passwords by regex.
PHP Code: <?php
Example of why the word "overthinking" exists.
Do NOT put artificial limits. DO require minimum strenght. A 33-character password is stronger than a 32-character one - maximum length is a limitation (bad). A 4-character password is weaker than a 5-characater one - minimum length ~= minimum strength (good; in principle ... should be at least 10 nowadays).
(12-14-2016, 09:10 PM)Narf Wrote: Example of why the word "overthinking" exists. Thank you, Narf. Limits can be changed. |
Welcome Guest, Not a member yet? Register Sign In |