déplacement captchaStrong

This commit is contained in:
Fred Tempez 2021-10-30 17:40:18 +02:00
parent 650d57b7cb
commit 1b97a52ced
2 changed files with 11 additions and 4 deletions

View File

@ -670,4 +670,11 @@ if ($this->getData(['core', 'dataVersion']) < 11100) {
$this->setData(['theme', 'menu', 'burgerLogo', '']);
$this->setData(['core', 'dataVersion', 11100]);
}
}
// Version 11.2.00
if ($this->getData(['core', 'dataVersion']) < 11200) {
// Déplacer la valeur captcha
$this->setData(['config', 'connect', 'captchaStrong', $this->getData(['config', 'captchaStrong'])]);
$this->setData(['core', 'dataVersion', 11200]);
}

View File

@ -10,7 +10,6 @@ class init extends common {
'favicon' => 'favicon.ico',
'faviconDark' => 'faviconDark.ico',
'maintenance' => false,
'captchaStrong' => false,
'social' => [
'facebookId' => 'facebook',
'instagramId' => '',
@ -35,7 +34,8 @@ class init extends common {
'attempt' => 3,
'log' => false,
'anonymousIp' => 2,
'captcha' => true
'captcha' => true,
'captchaStrong' => false,
],
'i18n' => [
'enable'=> true,
@ -53,7 +53,7 @@ class init extends common {
]
],
'core' => [
'dataVersion' => 11100,
'dataVersion' => 11200,
'lastBackup' => 0,
'lastClearTmp' => 0,
'lastAutoUpdate' => 0,