Welcome Guest, Not a member yet? Register   Sign In
DX Auth showing views although not logged-in
#1

[eluser]Mithun[/eluser]
Hi All,

I Have a problem with DX_Auth library, I have setup it, successfully able to log in and log out, change passwords etc, issue is with other controllers, whenever i tries to access any other controller method say <base_url>/opportunities/index.php i wss able to view it with out loggedin.
Do i need to check for log in like
Code:
if($this->dx_auth->is_logged_in())
in each controller or am I doing anything wrong?
#2

[eluser]flaky[/eluser]
Yes in each of the controllers
or you create the My_Controller or some other controller and extend the controllers that need user privileges with the My_Controller.
#3

[eluser]Mithun[/eluser]
Thank you flaky




Theme © iAndrew 2016 - Forum software by © MyBB