Skip to content

Commit

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

0 comments on commit c14a141

Please sign in to comment.