Skip to content

Commit

Permalink
Fixed typo in getMaxLengthRule
Browse files Browse the repository at this point in the history
  • Loading branch information
bgeneto committed May 2, 2023
1 parent c14a141 commit 0a63c53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controllers/RegisterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ protected function getValidationRules(): array
],
'password' => [
'label' => 'Auth.password',
'rules' => 'required|' . Passwords::getMaxLenghtRule() . '|strong_password',
'rules' => 'required|' . Passwords::getMaxLengthRule() . '|strong_password',
'errors' => [
'max_byte' => 'Auth.errorPasswordTooLongBytes',
],
Expand Down

0 comments on commit 0a63c53

Please sign in to comment.