Skip to content

Commit 473881f

Browse files
committed
🔧 error message typo in the valid_password() method
Signed-off-by: otengkwame <[email protected]>
1 parent a043fe6 commit 473881f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodeIgniter/Framework/libraries/Form_validation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2137,7 +2137,7 @@ public function valid_password($password = '')
21372137

21382138
if (preg_match_all($regex_uppercase, $password) < 1) {
21392139

2140-
$this->set_message('valid_password', 'The {field} field must be at least one uppercase letter.');
2140+
$this->set_message('valid_password', 'The {field} field must have at least one uppercase letter.');
21412141

21422142
return false;
21432143
}

0 commit comments

Comments
 (0)