From f676383926d32cb4c7e5a51eb35b6de27ca105f5 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 3 Oct 2019 15:11:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=AE=97=E6=9C=AF=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E7=A0=81=E6=8C=87=E5=AE=9A=E9=95=BF=E5=BA=A6=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Captcha.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Captcha.php b/src/Captcha.php index ea396ad..0789087 100644 --- a/src/Captcha.php +++ b/src/Captcha.php @@ -101,7 +101,8 @@ protected function generate(): array $bag = ''; if ($this->math) { - $this->useZh = false; + $this->useZh = false; + $this->length = 5; $x = random_int(10, 30); $y = random_int(1, 9);