Automatic login after activate account using ion auth
===

I am using ion-auth in my codeigniter. I would like to do a automatically login after account activated via email. Can i simply pass the hash password to the email tpl and hidden it and use it for $this->ion_auth->login() ?