mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 17:44:38 +09:00
#17165259. captcha 애드온에 비밀번호 찾기 기능에 대해서도 가로채서 봇/프로그램 체크 유무를 확인할 수 있도록 하는 기능을 추가.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6325 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b729bc68f0
commit
e78953d5b8
3 changed files with 40 additions and 2 deletions
|
|
@ -33,7 +33,17 @@ var calledArgs = null;
|
|||
body.append(captchaXE);
|
||||
|
||||
captchaXE.exec = function(module, act, params, callback_func, response_tags, callback_func_arg, fo_obj) {
|
||||
if(act == 'procBoardInsertDocument' || act == 'procBoardInsertComment' || act == 'procIssuetrackerInsertIssue' || act == 'procIssuetrackerInsertHistory') {
|
||||
var doCheck = false;
|
||||
if(typeof(captchaTargetAct)!='undefined') {
|
||||
for(var i in captchaTargetAct) {
|
||||
if(captchaTargetAct[i]==act) {
|
||||
doCheck = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(doCheck) {
|
||||
calledArgs = {'module':module,'act':act,'params':params,'callback_func':callback_func,'response_tags':response_tags,'callback_func_arg':callback_func_arg,'fo_obj':fo_obj};
|
||||
oldExecXml('captcha','setCaptchaSession',new Array(),captchaXE.show,new Array('error','message','about','keyword'));
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue