. */ if (!defined('BASEPATH')) exit('No direct script access allowed'); /** * NOTE: extends the FHC_Controller instead of the Auth_Controller because we want to login ;) otherwise loooooop! */ class Login extends FHC_Controller { /** * Object initialization */ public function __construct() { parent::__construct(array( 'loginAs' => 'admin:rw' )); } /** * Displays a login page with username and password */ public function usernamePassword() { $this->load->view('system/login/usernamePassword'); } /** * Displays a login page with username and password */ public function loginAs() { $this->load->view('system/login/loginAs'); } }