mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-02 13:14:23 +01:00
24 lines
440 B
PHP
24 lines
440 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.
|
||
|
*
|
||
|
* @return array
|
||
|
*/
|
||
|
public function rules(): array
|
||
|
{
|
||
|
return array_merge(
|
||
|
[
|
||
|
'email' => 'required|email',
|
||
|
],
|
||
|
parent::rules()
|
||
|
);
|
||
|
}
|
||
|
}
|