Disable Auth Register route in Laravel 8?
At the end of my
routes/web.php was the following line:
routes/auth.php are listed all additional routes for user login/register/logout. Just comment out or remove
/register route from there.
Laravel 8 uses fortify authentication. To disable registration from your laravel app, you need to disable it from fortify, which is located on
'features' => [ // Features::registration(), // disable here Features::resetPasswords(), Features::emailVerification(), Features::updateProfileInformation(), Features::updatePasswords(), Features::twoFactorAuthentication(), ],