issue 2092, fixed a bug for captcha addon about member signup

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10789 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2012-06-25 04:24:17 +00:00
parent 53e61bb7f0
commit 812f059823

View file

@ -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['XE_VALIDATOR_ERROR'] == -1) $_SESSION['captcha_authed'] = false;
if($_SESSION['captcha_authed']) return false;
$type = Context::get('captchaType');