How can I tell Tank Auth to not activate users at all? How can I tell Tank Auth to not activate users at all? codeigniter codeigniter

How can I tell Tank Auth to not activate users at all?


If you're interested in a quick hack, I think this would work.

Look in application/config/tank_auth.php and be sure that $config['email_activation'] is set to TRUE.

Then in the application/controllers/auth.php sign_up method look for this line:$this->_send_email('activate', $data['email'], $data);

Change $data['email'] to the admin's email address. So you end up with something like this:$this->_send_email('activate', 'admin@example.com', $data);

Then when users sign up, an email will come to the admin with the activation link to activate the user.