ldc-crm/app/Http/Requests/Api/V2/AuthenticateRequest.php
Alexis Gousseau 303834bbca
Crm V4
- Make all tests pass Client (V4),CRMV2,CRMV4
- Simplify client submodule path
- Move App_url to .env.testing
2023-10-06 16:37:29 +02:00

32 lines
574 B
PHP

<?php
namespace App\Http\Requests\Api\V2;
/**
* @codeCoverageIgnore
*/
class AuthenticateRequest extends BaseApiRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return boolean
*/
public function authorize(): bool
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules(): array
{
return [
'email' => 'required|email:rfc',
'password' => 'required'
];
}
}