Browse Source

Remove the over-parented default salt. It might mask configuration issues.

Wataru Terada 10 years ago
parent
commit
0bcd559acc
1 changed files with 1 additions and 6 deletions
  1. 1 6
      src/TestSuite/IntegrationTestCase.php

+ 1 - 6
src/TestSuite/IntegrationTestCase.php

@@ -238,12 +238,7 @@ abstract class IntegrationTestCase extends TestCase
         if (isset($this->_cookieEncriptionKey)) {
             return $this->_cookieEncriptionKey;
         }
-        $key = Security::salt();
-        if (isset($key)) {
-            return $key;
-        }
-        $key = Security::salt('foo!foo!foo!foo!foo!foo!foo!foo!');
-        return $key;
+        return Security::salt();
     }
 
     /**