thinkcmf 5關閉后台驗證碼


 

控制器修改

D:\cmf\thinkcmf\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'));
}*/

 

 

模板文件

D:\cmf\thinkcmf\public\themes\admin_simpleboot3\admin\login.html

 

注釋

<!-- <div class="form-group">
<div style="position: relative;">
<input type="text" name="captcha" placeholder="驗證碼" class="form-control captcha">
<captcha height="32" width="150" font-size="18"
style="cursor: pointer;position:absolute;right:1px;top:1px;"/>
</div>
</div>-->

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM