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

@ -671,3 +671,10 @@ if ($this->getData(['core', 'dataVersion']) < 11100) {
$this->setData(['core', 'dataVersion', 11100]); $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', 'favicon' => 'favicon.ico',
'faviconDark' => 'faviconDark.ico', 'faviconDark' => 'faviconDark.ico',
'maintenance' => false, 'maintenance' => false,
'captchaStrong' => false,
'social' => [ 'social' => [
'facebookId' => 'facebook', 'facebookId' => 'facebook',
'instagramId' => '', 'instagramId' => '',
@ -35,7 +34,8 @@ class init extends common {
'attempt' => 3, 'attempt' => 3,
'log' => false, 'log' => false,
'anonymousIp' => 2, 'anonymousIp' => 2,
'captcha' => true 'captcha' => true,
'captchaStrong' => false,
], ],
'i18n' => [ 'i18n' => [
'enable'=> true, 'enable'=> true,
@ -53,7 +53,7 @@ class init extends common {
] ]
], ],
'core' => [ 'core' => [
'dataVersion' => 11100, 'dataVersion' => 11200,
'lastBackup' => 0, 'lastBackup' => 0,
'lastClearTmp' => 0, 'lastClearTmp' => 0,
'lastAutoUpdate' => 0, 'lastAutoUpdate' => 0,