Skip to content
Permalink
Browse files

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>
  • Loading branch information...
mradosta authored and markstory committed Feb 3, 2010
1 parent 2adac05 commit 447e953bd1722522a4b442dbc6b1433467bfb892
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/debugger.php
@@ -674,7 +674,7 @@ function checkSecurityKeys() {
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);
}
}

0 comments on commit 447e953

Please sign in to comment.
You can’t perform that action at this time.