Comment by TZubiri

3 days ago

"Your password is too similar to your previous password"

Hmm, how would you know that.

Don't you generally have to enter the current password to change it to a new one?

  • Interesting. I guess you could do it on the frontend by asking for old and new passwords simultaneously and sending the hashes to the backend.

    That said, it means that you can skip this check by hacking around the front end check haha

By making it less secure. Like those auth schemes back in the day that sounded great in theory until you figured out that in order to implement them the provider had to store them un-hashed. No thanks.