From c8651ed797620748f148a80e155c56465c654bc2 Mon Sep 17 00:00:00 2001 From: molong Date: Thu, 19 Apr 2018 14:50:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controller/Index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/admin/controller/Index.php b/application/admin/controller/Index.php index 28922fb3..9d39c1e6 100644 --- a/application/admin/controller/Index.php +++ b/application/admin/controller/Index.php @@ -25,9 +25,9 @@ class Index extends Admin { } //验证码验证 - // if(!captcha_check($verify)){ - // return $this->error('验证码错误!', ''); - // } + if(!captcha_check($verify)){ + return $this->error('验证码错误!', ''); + } $user = model('Member'); $uid = $user->login($username, $password);