Metrics
0
Watch 2.7K Star 5.5K Fork 2.8K

ThinkGem / JeeSite 4.xJavaAGPL-3.0

图形验证码如何放开?

Closed
cuitXiaoLin  Created at

该问题是怎么引起的?

登录界面html里代码是有图形校验码的

<div class="form-group has-feedback" id="isValidCodeLogin" style="display:${isValidCodeLogin?'blank':'none'}">
 <#form:validcode name="validCode" isRequired="true" isRemote="true" isLazy="true"/>
 </div>

LoginController里有这一段
// 是否显示验证码
model.addAttribute("isValidCodeLogin", Global.getConfigToInteger("sys.login.failedNumAfterValidCode", "200") == 0);

但是如何设置才能让验证码显示呢?

350691_cuit.ck total 2 participants

Comments (1)

wangxiongying 2019-06-14 17:41

系统参数里设置?把密码允许错误次数调成0 我也没尝试过哈哈

Sign in and comment

Assignee
Labels
Not set
Project
Milestone
Branch
Scheduled start
Not set
Scheduled end
Not set
Top level
Priority

Help Search

Gitee_you_jiang_zheng_wen Zheng_wen_close