php - CodeIgniter Tank Auth - problem with send_again function -


i have been playing around library, absolutely awesome. testing , think there's problem when non activated user tries log in. wondering if of noticed already? happens user redirected send_again page, once there, not able change url other location anymore. guessing happens because of session info not destroyed - in login function :

elseif ($this->tank_auth->is_logged_in(false)) { // logged in, not activated redirect('/auth/send_again/');  

this gets executed time (unless force logout). knows how fix this? thanks!

try remove redirect value on \controllers\auth.php function login , find :

elseif (isset($errors['not_activated'])) {               redirect('');//auth/send_again/  } 

send_again function called when not activated user. so, pass send_again function need delete redirect value

if want activate email activation need configure email.php on config folder


Comments