Skip to content

Commit

Permalink
Merge pull request #9 from jny986/master
Browse files Browse the repository at this point in the history
Added Validation Message to Install
  • Loading branch information
valorin authored Jan 14, 2020
2 parents 49e9cad + 816476b commit e65416a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ composer require valorin/pwned-validator

Laravel's service provider discovery will automatically configure the Pwned service provider for you.

Add the validation message to your validation lang file:

For each language add a validation message to `validation.php` like below

```
'pwned' => 'The :attribute is not secure enough',
```

## Using the `pwned` validator

After installation, the `pwned` validator will be available for use directly in your validation rules.
Expand Down

0 comments on commit e65416a

Please sign in to comment.