feat: 2fa reset notifs

Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
2022-09-21 05:43:11 +01:00
parent 3122c23eb4
commit f3996bb68c
9 changed files with 141 additions and 10 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class Reset2FASecretRequest extends FormRequest
{
public function rules(): array
{
return [
'currentPassword' => 'required|current_password',
];
}
public function authorize(): bool
{
return true;
}
}