Skip to content

Commit 268c2b1

Browse files
WendellAdrielgithub-actions[bot]
authored andcommitted
Consolidate password and two-factor settings into a unified security page
Co-authored-by: WendellAdriel <me@wendelladriel.com>
1 parent c7c78b5 commit 268c2b1

File tree

2 files changed

+0
-46
lines changed

2 files changed

+0
-46
lines changed

app/Http/Controllers/Settings/TwoFactorAuthenticationController.php

Lines changed: 0 additions & 37 deletions
This file was deleted.

app/Http/Requests/Settings/TwoFactorAuthenticationRequest.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,12 @@
44

55
use Illuminate\Contracts\Validation\ValidationRule;
66
use Illuminate\Foundation\Http\FormRequest;
7-
use Laravel\Fortify\Features;
87
use Laravel\Fortify\InteractsWithTwoFactorState;
98

109
class TwoFactorAuthenticationRequest extends FormRequest
1110
{
1211
use InteractsWithTwoFactorState;
1312

14-
/**
15-
* Determine if the user is authorized to make this request.
16-
*/
17-
public function authorize(): bool
18-
{
19-
return Features::enabled(Features::twoFactorAuthentication());
20-
}
21-
2213
/**
2314
* Get the validation rules that apply to the request.
2415
*

0 commit comments

Comments
 (0)