Codeigniter-Authentication-Library
Codeigniter-Authentication-Library copied to clipboard
some small errors in quickauth.php
Hi! I think it could be better if your fantastic library will work absolutely properly! I found some errors here, correct it please!
- Logout method It must be $this->ci->session->sess_destroy(); instead of $this->ci->session->destroy(); at Quickauth.php line#107
- restrict method (line#234 and more) must be $this->ci->db->where('userid', $userid); (you forget $this-> somethere)
- #241, must be $user_groups[] = $var['title'];
- #246, maybe it is better to use redirect($this->login); instead of die(); ?
And thank you very much for your very usefull lib!