FleetCart/Modules/User/Http/Requests/PasswordResetRequest.php

28 lines
508 B
PHP
Raw Normal View History

2023-06-11 12:14:03 +00:00
<?php
namespace Modules\User\Http\Requests;
use Modules\Core\Http\Requests\Request;
class PasswordResetRequest extends Request
{
/**
* Available attributes.
*
* @var string
*/
protected $availableAttributes = 'user::attributes.users';
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'email' => 'required|email',
];
}
}