Verify if entered password is compromised in data leak or not in Laravel 8.x

1 · Amit Merchant · April 25, 2021, 6:51 p.m.
In my previous articles, I talked about the new custom password rule object which brings in the ability to easily add various validation rules to the password field. There are a lot of interesting rules that this object is introducing but the one that really caught my eyes is the password rule that validates if the entered password is exposed in a data leak in the past or not. Using the uncompromised() rule Behind the scenes Using the uncompromised() rule First, check how you can add this pass...