Welcome Guest, Not a member yet? Register   Sign In
Updating DX Auth
#9

[eluser]k2zs[/eluser]
[quote author="InsiteFX" date="1303077672"]Change all your Constructors.
Code:
// wrong!
    public function Auth()
    {
        parent::CI_Controller();
        
        $this->load->library('Form_validation');
        $this->load->library('DX_Auth');            
        
        $this->load->helper('url');
        $this->load->helper('form');
    }
    
// should be like this now!
    public function __construct()
    {
        parent::__construct();
        
        $this->load->library('Form_validation');
        $this->load->library('DX_Auth');            
        
        $this->load->helper('url');
        $this->load->helper('form');
    }

InsiteFX[/quote]

Did all that and like I said I had it working for a short time until I logged out and tried logging back in. Now it won't accept the default password...

I did try editing roles and checked "edit" and "delete" for "admin" which weren't checked by default.


Messages In This Thread
Updating DX Auth - by El Forum - 04-12-2011, 12:46 PM
Updating DX Auth - by El Forum - 04-12-2011, 01:35 PM
Updating DX Auth - by El Forum - 04-12-2011, 02:17 PM
Updating DX Auth - by El Forum - 04-17-2011, 10:03 AM
Updating DX Auth - by El Forum - 04-17-2011, 10:51 AM
Updating DX Auth - by El Forum - 04-17-2011, 10:58 AM
Updating DX Auth - by El Forum - 04-17-2011, 11:01 AM
Updating DX Auth - by El Forum - 04-17-2011, 11:07 AM
Updating DX Auth - by El Forum - 04-17-2011, 11:09 AM
Updating DX Auth - by El Forum - 04-17-2011, 11:13 AM
Updating DX Auth - by El Forum - 04-17-2011, 11:23 AM
Updating DX Auth - by El Forum - 04-17-2011, 05:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB