CodeIgniter Forums
DX Auth captacha error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: DX Auth captacha error (/showthread.php?tid=44221)



DX Auth captacha error - El Forum - 08-08-2011

[eluser]afro[/eluser]
Hi pple, am using the DX-auth and am getting the following error when i log out.
can some one help me out pliz.

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: captcha

Filename: auth/login_form.php

Line Number: 103
Code:
function logout()
{
  $this->dx_auth->logout();
  $this->dx_auth->captcha();
                        
  // Set view data to show captcha on view file
$data['show_captcha'] = TRUE;
$data['auth_message'] = 'You have been logged out. Good bye';        
$this->load->view($this->dx_auth->logout_view, $data);
    }

Thanks in advance


DX Auth captacha error - El Forum - 08-08-2011

[eluser]afro[/eluser]
got the solution to the problem.