CodeIgniter Forums
dx_auth error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forum-22.html)
+--- Thread: dx_auth error (/thread-42187.html)



dx_auth error - El Forum - 05-29-2011

[eluser]Paleleaves[/eluser]
Hi,

this is my controller and if the user is not logged in I'm forwarding like this

Code:
if ( ! $this->dx_auth->is_logged_in())
        {
            $this->load->view('common/header');
            $this->load->view($this->dx_auth->login_view);
            $this->load->view('common/footer');
        }

But it throw an error like this..

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: show_captcha

Filename: auth/login_form.php

Line Number: 50


What could be wrong?