langleyfoxall / laravel-nist-password-rules

🔒 Laravel validation rules that follow the password related recommendations found in NIST Special Publication 800-63B section 5.
GNU Lesser General Public License v3.0
208 stars 49 forks source link

Fixed documentation on changing password with old password #19

Closed simtrami closed 5 years ago

simtrami commented 5 years ago

The "different" Laravel rule used here https://github.com/langleyfoxall/laravel-nist-password-rules/blob/8a0f2f5a37b31d0a3cbfea88f8583f0ea47e1ae9/src/PasswordRules.php#L36 takes the field name as parameter, not the value as the README says.

See: different:field in Laravel 5.8 Doc

coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 81


Totals Coverage Status
Change from base Build 79: 0.0%
Covered Lines: 84
Relevant Lines: 84

💛 - Coveralls