inital commit
This commit is contained in:
21
app/Http/Requests/LoginRequest.php
Normal file
21
app/Http/Requests/LoginRequest.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
|
||||
class LoginRequest extends BaseRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'email'=>'required|email',
|
||||
'password'=>'required'
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user