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