主题 : 如何去掉验*码? |
级别: 白丁
|
1# 发表于:2010-07-02 14:35:49 IP:124.56.*.*
|
||||
---|---|---|---|---|---|
级别: 白丁
|
2# 发表于:2010-11-25 11:57:06 IP:117.52.*.*
package com.jeecms.common.checkcode;
import com.octo.captcha.service.captchastore.CaptchaStore; import com.octo.captcha.engine.CaptchaEngine; import com.octo.captcha.service.image.DefaultManageableImageCaptchaService; public class CaptchaService extends DefaultManageableImageCaptchaService { public CaptchaService() { super(); } public CaptchaService(int minSeconds, int maxStoreSize, int loadBefore) { super(minSeconds, maxStoreSize, loadBefore); } public CaptchaService(CaptchaStore captchaStore, CaptchaEngine captchaEngine, int minSeconds, int maxStoreSize, int loadBefore) { super(captchaStore, captchaEngine, minSeconds, maxStoreSize, loadBefore); } @Override public Boolean validateResponseForID(String ID, Object response) { Boolean isHuman; try { isHuman = super.validateResponseForID(ID, response); } catch (Exception e) { isHuman = false; } return true; // 这里改成true就好了 // return isHuman; } } |
||
---|---|---|---|
级别: 解元
|
4# 发表于:2012-08-13 10:53:39 IP:119.134.*.*
如果去掉验证码?老是提示?captcha 为必填项
|
||
---|---|---|---|
级别: 解元
|
5# 发表于:2012-08-13 10:56:01 IP:119.134.*.*
登录页面如何去掉验证码?老是提示?captcha 为必填项
|
||
---|---|---|---|
级别: 状元
|
6# 发表于:2012-08-13 11:07:07 IP:111.201.*.*
去掉要改源码 |
||
---|---|---|---|
级别: 解元
|
7# 发表于:2012-08-13 12:47:12 IP:119.134.*.*
哦,怎么改的,急
|
||
---|---|---|---|
级别: 解元
|
9# 发表于:2012-08-13 17:08:15 IP:119.134.*.*
不行
|
||
---|---|---|---|