J
John Butler
Hi,
Im writing some validation code the basically make sure a users login is
not too similar to their password. I was thinking a regular expression
to match similarities and if they are alike then make the user change
their password.
This doesnt have to be bullet proof just enough to really say if
someones username is bobbysmith then their password cant be bobbysmith7
or bobbysmi7
Anyone got a solution, is it possible to do this with a regular
expression or will it be some ruby code ina loop....
JB
Im writing some validation code the basically make sure a users login is
not too similar to their password. I was thinking a regular expression
to match similarities and if they are alike then make the user change
their password.
This doesnt have to be bullet proof just enough to really say if
someones username is bobbysmith then their password cant be bobbysmith7
or bobbysmi7
Anyone got a solution, is it possible to do this with a regular
expression or will it be some ruby code ina loop....
JB