[eluser]Unknown[/eluser]
A fix for anyone still getting "Incorrect Security Image Response" and i bet your using ion auth?
Well on the create_user function when adding the recaptcha to it
The stock code is like this:
Code:
if ($this->form_validation->run() == true)
{
// input codes here i removed mine as i have changed them for my site
}
if ($this->form_validation->run() == true && $this->ion_auth->register($username, $password, $email, $additional_data))
{ //check to see if we are creating the user
//redirect them back to the admin page
$this->session->set_flashdata('message', "User Created");
redirect("auth", 'refresh');
}
If you look it has 2 $this->form_validation->run(), so it tries to validate your captcha twice firstly correctly then the captcha changes so the second time it is validated as "Incorrect Security Image Response" as it is checked twice
So you need to change it so it only uses "$this->form_validation->run() == true" once like this:
Code:
if ($this->form_validation->run() == true)
{
// input codes here i removed mine as i have changed them for my site
$this->ion_auth->register($username, $password, $email, $additional_data)
//redirect after
}
Hope this helps with anyone else wondering why the captcha keeps coming back as incorrect.