mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Attempting to get passing builds on travisci
Currently the 5.2 builds fail due to the length checks on blowfish hashes. Try a shorter wall to see if those builds will pass.
This commit is contained in:
parent
c870044262
commit
61d6f716bc
1 changed files with 2 additions and 1 deletions
|
@ -272,7 +272,8 @@ class Security {
|
||||||
$salt,
|
$salt,
|
||||||
);
|
);
|
||||||
$salt = vsprintf($saltFormat[$hashType], $vspArgs);
|
$salt = vsprintf($saltFormat[$hashType], $vspArgs);
|
||||||
} elseif ($salt === true || strpos($salt, '$2a$') !== 0 || strlen($salt) < 29) {
|
}
|
||||||
|
if ($salt === true || strpos($salt, '$2a$') !== 0 || strlen($salt) < 12) {
|
||||||
trigger_error(__d(
|
trigger_error(__d(
|
||||||
'cake_dev',
|
'cake_dev',
|
||||||
'Invalid salt: %s for %s Please visit http://www.php.net/crypt and read the appropriate section for building %s salts.',
|
'Invalid salt: %s for %s Please visit http://www.php.net/crypt and read the appropriate section for building %s salts.',
|
||||||
|
|
Loading…
Add table
Reference in a new issue