From 779f4a00eb05d7e2aae7b3e641f5cab85e264cf7 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Mon, 19 Oct 2015 15:19:02 -0400 Subject: [PATCH] Remove another vistigal controller method --- src/Aviat/AnimeClient/Controller.php | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/src/Aviat/AnimeClient/Controller.php b/src/Aviat/AnimeClient/Controller.php index d2b00cdb..2716a527 100644 --- a/src/Aviat/AnimeClient/Controller.php +++ b/src/Aviat/AnimeClient/Controller.php @@ -181,30 +181,5 @@ class Controller { $http->redirect($url, $code); } - - /** - * Attempt to log in with the api - * - * @return void - */ - public function login_action() - { - $request = $this->container->get('request'); - - if ( - $this->model->authenticate( - $this->config->hummingbird_username, - $request->post->get('password') - ) - ) - { - $this->response->redirect->afterPost( - $this->urlGenerator->full_url('', $this->base_data['url_type']) - ); - return; - } - - $this->login("Invalid username or password."); - } } // End of BaseController.php \ No newline at end of file