[eluser]laurisnet[/eluser]
Sorry man, No Idea how to do it.
But I get solution to my answer.
So its like that:
Put this in controller which is loaded when you want to show captcha
$this->load->library('tank_auth');
// Captcha
$use_recaptcha = $this->config->item('use_recaptcha', 'tank_auth');
if ($use_recaptcha) {
$data['recaptcha_html'] = $this->_create_recaptcha();
} else {
$data['captcha_html'] = $this->_create_captcha();
}
$data['use_recaptcha'] = $use_recaptcha;
And this where you want to check if its true:
if($cap == $this->session->flashdata('captcha_word')){
$captcha_valid = true;
$user_type = 'guest';
}