控制器修改

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'));
}*/

 

thinkcmf 5关闭后台验证码

 

模板文件

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>-->

 

相关文章:

  • 2021-11-10
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2021-09-13
  • 2021-12-27
  • 2021-10-31
猜你喜欢
  • 2022-12-23
  • 2021-09-21
  • 2022-12-23
  • 2021-08-27
  • 2021-06-01
  • 2022-12-23
  • 2021-04-11
相关资源
相似解决方案