Skip to content

Commit

Permalink
Update Bcrypt.php
Browse files Browse the repository at this point in the history
Fixed typo in exception message.
  • Loading branch information
renecatharsis committed Jul 21, 2013
1 parent 080c7b9 commit c982d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Crypt/Password/Bcrypt.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function create($password)
// check if the password contains 8-bit character
if (preg_match('/[\x80-\xFF]/', $password)) {
throw new Exception\RuntimeException(
'The bcrypt implementation used by PHP can contains a security flaw ' .
'The bcrypt implementation used by PHP can contain a security flaw ' .
'using password with 8-bit character. ' .
'We suggest to upgrade to PHP 5.3.7+ or use passwords with only 7-bit characters'
);
Expand Down

0 comments on commit c982d94

Please sign in to comment.