DivineOmega / laravel-password-exposed-validation-rule

🔒 Laravel validation rule that checks if a password has been exposed in a data breach.
GNU Lesser General Public License v3.0
89 stars 29 forks source link

ServiceProvider #11

Closed imanghafoori1 closed 5 years ago

imanghafoori1 commented 5 years ago

You may have a service provider to register the new nice validation rule in it.

\Validator::extend(...
DivineOmega commented 5 years ago

Good idea. :+1:

Feel free to open a PR. If not, I'll probably tackle this myself at some point over the next few days.

imanghafoori1 commented 5 years ago

I am not sure about contribution since I am busy for a few days... any way it is a small change.