Merge pull request #1515 from xisi/security-typofix

Typo in registration
This commit is contained in:
Sebastian Grewe 2014-01-21 03:56:18 -08:00
commit 2eb53d8efc

View File

@ -14,7 +14,7 @@ if ($setting->getValue('recaptcha_enabled') && $setting->getValue('recaptcha_ena
);
$smarty->assign("RECAPTCHA", recaptcha_get_html($setting->getValue('recaptcha_public_key'), $rsp->error, true));
if (!$rsp->is_valid) $_SESSION['POPUP'][] = array('CONTENT' => 'Invalid Captcha, please try again.', 'TYPE' => 'errormsg');
$recaptcha = ($rsp->isvalid) ? 1 : 0;
$recaptcha = ($rsp->is_valid) ? 1 : 0;
}
// csrf if enabled