Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/8.x' into 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jul 23, 2021
2 parents 9d88b72 + a4081b3 commit 6e9baa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Validation/Rules/Password.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ public function passes($attribute, $value)
{
$validator = Validator::make($this->data, [
$attribute => 'string|min:'.$this->min,
]);
], $this->validator->customMessages, $this->validator->customAttributes);

if ($validator->fails()) {
return $this->fail($validator->messages()->all());
Expand Down

0 comments on commit 6e9baa0

Please sign in to comment.