mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
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
This commit is contained in:
parent
9c29fab4a4
commit
51946ff8fd
3 changed files with 1 additions and 10 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue