I've successfully (and VERY easily) configured Tank Auth to work on my current site (including Captcha). Its awesome!
A quick question about the 'correct' way to implement this. As I make more pages that are going to be only available to a logged in user - should I just make a base controller such as:
Code:
class MY_Controller extends Controller
{
function __construct()
{
parent::__construct();
if (!$this->tank_auth->is_logged_in())
{
redirect('somewhere_else');
}
}
}
and have all controllers which require a logged in user to 'extend' this?
Or is there another/better way?
p.s. one suggestion for the next version: add a 'login_count' to the user profile?