config = new AauthConfig(); $this->aauth = new Aauth(); $this->request = Services::request(); helper('form'); } /** * Index * * @return void */ public function index() { $this->aauth->logout(); redirect()->to('/'); } }