Verifique se a solicitação é GET ou POST
No meu controlador / ação:
if(!empty($_POST))
{
if(Auth::attempt(Input::get('data')))
{
return Redirect::intended();
}
else
{
Session::flash('error_message','');
}
}
Existe um método emLaravel
para verificar se a solicitação éPOST
ouGET
?