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) {
|
||||
$this->deleteData(['admin','colorButtonText']);
|
||||
$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(['core', 'dataVersion', 10200]);
|
||||
}
|
||||
|
@ -177,11 +177,9 @@ class config extends common {
|
||||
// Sécurité de la connexion - durée du blocage
|
||||
public static $connectTimeout = [
|
||||
0 => 'Aucun',
|
||||
120 => '2 minutes',
|
||||
240 => '4 minutes',
|
||||
360 => '6 minutes',
|
||||
480 => '8 minutes',
|
||||
600 => '10 minutes'
|
||||
300 => '5 minutes',
|
||||
600 => '10 minutes',
|
||||
900 => '15 minutes'
|
||||
];
|
||||
public function generateFiles() {
|
||||
// Mettre à jour le site map
|
||||
|
@ -30,7 +30,7 @@ class init extends common {
|
||||
'enable' => false,
|
||||
],
|
||||
"connect" => [
|
||||
"timeout" => 360,
|
||||
"timeout" => 600,
|
||||
"attempt" => 3,
|
||||
'log' => false
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user