2FAuth/app/Http/Requests/WebauthnAssertedRequest.php
2023-03-26 17:13:32 +02:00

22 lines
413 B
PHP

<?php
namespace App\Http\Requests;
use Laragear\WebAuthn\Http\Requests\AssertedRequest;
class WebauthnAssertedRequest extends AssertedRequest
{
/**
* Get the validation rules that apply to the request.
*/
public function rules() : array
{
return array_merge(
[
'email' => 'required|email',
],
parent::rules()
);
}
}