thinkcmf 相关

后台登录,暂停关掉登录验证码:

/Volumes/macHD2/myCode/wwwroot/app/admin/controller/PublicController.php

$captcha = $this->request->param('captcha');
        // if (empty($captcha)) {
        //     $this->error(lang('CAPTCHA_REQUIRED'));
        // }
        //验证码
        // if (!cmf_captcha_check($captcha)) {
        //     $this->error(lang('CAPTCHA_NOT_RIGHT'));
        // }

 

posted @ 2019-01-18 16:43  James2019  阅读(110)  评论(0编辑  收藏  举报