Skip to content
Permalink
Browse files

Remove Security.level from core.php

it's not used by cake, and it can confuse users familiar with 1.3
that this setting exists yet doesn't do anything in later versions
  • Loading branch information...
AD7six committed Jan 22, 2013
1 parent 9c29fab commit 51946ff8fd013a21514ed0e93e8d9245c38a3e31
Showing with 1 addition and 10 deletions.
  1. +0 −5 app/Config/core.php
  2. +0 −5 lib/Cake/Console/Templates/skel/Config/core.php
  3. +1 −0 lib/Cake/Utility/Security.php
@@ -188,11 +188,6 @@
'defaults' => 'php'
));
/**
* The level of CakePHP security.
*/
Configure::write('Security.level', 'medium');
/**
* A random string used in security hashing methods.
*/
@@ -188,11 +188,6 @@
'defaults' => 'php'
));
/**
* The level of CakePHP security.
*/
Configure::write('Security.level', 'medium');
/**
* A random string used in security hashing methods.
*/
@@ -43,6 +43,7 @@ class Security {
/**
* Get allowed minutes of inactivity based on security level.
*
* @deprecated Exists for backwards compatibility only, not used by the core
* @return integer Allowed inactivity in minutes
*/
public static function inactiveMins() {

0 comments on commit 51946ff

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