diff --git a/core/class/template.class.php b/core/class/template.class.php index 7e7ff879..16cbef01 100644 --- a/core/class/template.class.php +++ b/core/class/template.class.php @@ -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 diff --git a/core/include/update.inc.php b/core/include/update.inc.php index 2022e271..b03fdcef 100644 --- a/core/include/update.inc.php +++ b/core/include/update.inc.php @@ -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) {