I have what I think is a simplw question. I have installed AG Auth, I can show the login form on any view page, but I can’t actually log in. It’s as if the form doesn’t have any functionality unless it is in the actual auth/pages/login page. Here is my Controller.
class Pages extends Application
public function __construct()
public function login()
// user/dashboard is a made up URI string
public function view($page = ‘home’)
if ( ! file_exists(‘application/views/pages/’.$page.’.php’))
// Whoops, we don’t have a page for that!
$data[‘title’] = ucfirst($page); // Capitalize the first letter
/* End of file: home.php */
/* Location: application/controllers/home.php */
then in the view I use the login form code. Any help would be great.