mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
#19590045 captcha 1번만 동작시 버그 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8148 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
98e1f492de
commit
3278b32ed6
1 changed files with 2 additions and 1 deletions
|
|
@ -31,6 +31,7 @@
|
|||
$logged_info = Context::get('logged_info');
|
||||
if($logged_info->is_admin == 'Y' || $logged_info->is_site_admin) return false;
|
||||
if($this->addon_info->target != 'all' && Context::get('is_logged')) return false;
|
||||
if($_SESSION['captcha_authed']) return false;
|
||||
|
||||
$target_acts = array('procBoardInsertDocument','procBoardInsertComment','procIssuetrackerInsertIssue','procIssuetrackerInsertHistory','procTextyleInsertComment');
|
||||
if($this->addon_info->apply_find_account=='apply') $target_acts[] = 'procMemberFindAccount';
|
||||
|
|
@ -227,7 +228,7 @@
|
|||
if($_SESSION['captcha_authed']) return false;
|
||||
|
||||
if(strtoupper($_SESSION['captcha_keyword']) == strtoupper(Context::get('secret_text'))) $_SESSION['captcha_authed'] = true;
|
||||
else $_SESSION['captcha_authed'] = false;
|
||||
else unset($_SESSION['captcha_authed']);
|
||||
|
||||
header("Content-Type: text/xml; charset=UTF-8");
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue