|
|
|
|
|
by wernercd
4150 days ago
|
|
How do you handle (Do you?): * not more than 2 identical characters in a row (e.g., 111 not allowed)
* Name/Username in password (Name: Chuck Norris, username: ChuckNorris, Password: ChuckNorris#1) These are reasons why I don't look forward to doing this and also why I'm leaning towards G+/FB/twitter/etc authentication in an app I'm planning. |
|
For the second, I'd probably just do something like compute the Levenshtein distance between the username and password, and reject it if it passed some threshold.