Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
Showing only changes of commit 935076cc63 - Show all commits

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