Remove another vistigal controller method

This commit is contained in:
Timothy Warren 2015-10-19 15:19:02 -04:00
parent d281c26a1c
commit 779f4a00eb
1 changed files with 0 additions and 25 deletions

View File

@ -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