mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Add exact comparison to Debugger::checkSecurityKeys(). Fixes issues
with modifying the value by one digit. Fixes #298 Signed-off-by: Mark Story <mark@mark-story.com>
This commit is contained in:
parent
2adac05dad
commit
447e953bd1
1 changed files with 1 additions and 1 deletions
|
@ -674,7 +674,7 @@ class Debugger extends Object {
|
|||
trigger_error(__('Please change the value of \'Security.salt\' in app/config/core.php to a salt value specific to your application', true), E_USER_NOTICE);
|
||||
}
|
||||
|
||||
if (Configure::read('Security.cipherSeed') == '76859309657453542496749683645') {
|
||||
if (Configure::read('Security.cipherSeed') === '76859309657453542496749683645') {
|
||||
trigger_error(__('Please change the value of \'Security.cipherSeed\' in app/config/core.php to a numeric (digits only) seed value specific to your application', true), E_USER_NOTICE);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue