From 81a1cd4de00ffab66b35b68fc2b43cb5f7755074 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 16 Nov 2021 08:37:46 +0100 Subject: [PATCH] =?UTF-8?q?Type=20de=20captcha=20non=20initialis=C3=A9=20?= =?UTF-8?q?=C3=A0=20l'installation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/class/template.class.php | 2 +- core/include/update.inc.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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) {