for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the HRis Software package.
*
* HRis - Human Resource and Payroll System
* @link http://github.com/HB-Co/HRis
*/
namespace HRis\Api\Requests\Auth;
use HRis\Http\Requests\Request as BaseRequest;
class Request extends BaseRequest
{
* Get the validation rules that apply to the request.
* @return array
* @author Bertrand Kintanar <[email protected]>
public function rules()
return [
'email' => 'required|exists:users,email',
'password' => 'required'
];
}
* Determine if the user is authorized to make this request.
* @return bool
public function authorize()
return true;