diff --git a/src/Validator/UserCredentialsValidator.php b/src/Validator/UserCredentialsValidator.php index edd5e09..d7e5e71 100644 --- a/src/Validator/UserCredentialsValidator.php +++ b/src/Validator/UserCredentialsValidator.php @@ -71,7 +71,7 @@ public function validate($data) // Validate password if (!$this->validatePassword($password)) { - $this->error = $this->module->l('Password length is incorrect', self::FILE_NAME); + $this->error = $this->module->l('Password length is invalid', self::FILE_NAME); $this->message = $this->module->l('Password must be between 6-255 characters long', self::FILE_NAME); } } @@ -109,4 +109,4 @@ private function validatePassword($password) { return strlen($password) >= 6 && strlen($password) <= 255; } -} \ No newline at end of file +}