Type de captcha non initialisé à l'installation

This commit is contained in:
Fred Tempez 2021-11-16 08:37:46 +01:00
parent 5096c4f37a
commit 81a1cd4de0
2 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class template {
'name' => $nameId,
'value' => '',
'limit' => false, // captcha simple
'type'=> 'num' // num(érique) ou alpha(bétique)
'type'=> 'alpha' // num(érique) ou alpha(bétique)
], $attributes);
// Captcha quatre opérations

View File

@ -680,6 +680,7 @@ if ($this->getData(['core', 'dataVersion']) < 11200) {
$this->deleteData(['config', 'captchaStrong']);
$this->setData(['config', 'connect', 'autoDisconnect', $this->getData(['config', 'autoDisconnect'])]);
$this->deleteData(['config', 'autoDisconnect']);
$this->setData(['config', 'connect', 'captchaType', 'alpha']);
// Ajout de la variable shortTitle basée sur Title
foreach ($this->getHierarchy(null,null,null) as $parentKey=>$parentValue) {