Working on structure.

This commit is contained in:
Taylor Otwell
2014-11-02 10:22:56 -06:00
parent c398cda797
commit ed4b97b33b
3 changed files with 4 additions and 8 deletions

View File

@@ -1,29 +0,0 @@
<?php namespace App\Http\Requests\Auth;
use App\Http\Requests\Request;
class LoginRequest extends Request {
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'email' => 'required', 'password' => 'required',
];
}
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
}