Codeigniter-Authentication-Library icon indicating copy to clipboard operation
Codeigniter-Authentication-Library copied to clipboard

some small errors in quickauth.php

Open ivk opened this issue 13 years ago • 0 comments

Hi! I think it could be better if your fantastic library will work absolutely properly! I found some errors here, correct it please!

  1. Logout method It must be $this->ci->session->sess_destroy(); instead of $this->ci->session->destroy(); at Quickauth.php line#107
  2. restrict method (line#234 and more) must be $this->ci->db->where('userid', $userid); (you forget $this-> somethere)
  3. #241, must be $user_groups[] = $var['title'];
  4. #246, maybe it is better to use redirect($this->login); instead of die(); ?

And thank you very much for your very usefull lib!

ivk avatar Aug 22 '11 15:08 ivk