forked from ZwiiCMS-Team/ZwiiCMS
logn brute force options par défaut
This commit is contained in:
parent
dd1d3f793f
commit
53a0289b9b
@ -1311,7 +1311,7 @@ class common {
|
|||||||
if ($this->getData(['core', 'dataVersion']) < 10200) {
|
if ($this->getData(['core', 'dataVersion']) < 10200) {
|
||||||
$this->deleteData(['admin','colorButtonText']);
|
$this->deleteData(['admin','colorButtonText']);
|
||||||
$this->setData(['config', 'connect', 'attempt',3]);
|
$this->setData(['config', 'connect', 'attempt',3]);
|
||||||
$this->setData(['config', 'connect', 'timeout',360]);
|
$this->setData(['config', 'connect', 'timeout',600]);
|
||||||
$this->setData(['config', 'connect', 'log',false]);
|
$this->setData(['config', 'connect', 'log',false]);
|
||||||
$this->setData(['core', 'dataVersion', 10200]);
|
$this->setData(['core', 'dataVersion', 10200]);
|
||||||
}
|
}
|
||||||
|
@ -177,11 +177,9 @@ class config extends common {
|
|||||||
// Sécurité de la connexion - durée du blocage
|
// Sécurité de la connexion - durée du blocage
|
||||||
public static $connectTimeout = [
|
public static $connectTimeout = [
|
||||||
0 => 'Aucun',
|
0 => 'Aucun',
|
||||||
120 => '2 minutes',
|
300 => '5 minutes',
|
||||||
240 => '4 minutes',
|
600 => '10 minutes',
|
||||||
360 => '6 minutes',
|
900 => '15 minutes'
|
||||||
480 => '8 minutes',
|
|
||||||
600 => '10 minutes'
|
|
||||||
];
|
];
|
||||||
public function generateFiles() {
|
public function generateFiles() {
|
||||||
// Mettre à jour le site map
|
// Mettre à jour le site map
|
||||||
|
@ -30,7 +30,7 @@ class init extends common {
|
|||||||
'enable' => false,
|
'enable' => false,
|
||||||
],
|
],
|
||||||
"connect" => [
|
"connect" => [
|
||||||
"timeout" => 360,
|
"timeout" => 600,
|
||||||
"attempt" => 3,
|
"attempt" => 3,
|
||||||
'log' => false
|
'log' => false
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user