DEV Community

Discussion on: Laravel Fortify : Implement 2FA in a way that won't let users lock themselves out

Collapse
 
seivad profile image
Mick Davies

I had to update the Disable 2FA to this (Laravel 8)

$this->app->singleton(
\Laravel\Fortify\Actions\DisableTwoFactorAuthentication::class,
\App\Actions\Fortify\DisableTwoFactorAuthentication::class
);