Generates a new captcha challenge.
string Core_Captcha::generate_challenge( )
string
the challenge answerprotected static function generate_challenge()
{
// Complexity setting is used as character count
Captcha::$response = Captcha::random(max(1, Captcha::$config['complexity']));
Session::instance()->set(Captcha::$sessionname, array('code' => Captcha::$response, 'time' => TIME));
}