2021-09-17 23:48:30 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Http\Requests;
|
|
|
|
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
|
2021-09-19 22:42:21 +02:00
|
|
|
class TwoFAccountBatchDestroyRequest extends FormRequest
|
2021-09-17 23:48:30 +02:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Determine if the user is authorized to make this request.
|
|
|
|
*
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function authorize()
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the validation rules that apply to the request.
|
|
|
|
*
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function rules()
|
|
|
|
{
|
|
|
|
return [
|
2021-09-19 22:42:21 +02:00
|
|
|
'ids' => 'required|string|regex:/^\d([\d,])+[\d]+$/i',
|
2021-09-17 23:48:30 +02:00
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|