ads

How to disable register route in laravel?


How to disable register route in Laravel 7

Hi, I am now explaining how to disable register route in laravel?.This is the right method of laravel how to disable any type of route here below syntax I am providing you some information related to route disabling 

Auth::routes([
  'login' => false, //Login Routes
  'register' => false, // Registration Routes...
  'reset' => false, // Password Reset Routes...
  'verify' => false, // Email Verification Routes...
]);
 
Using above syntax you can able to disable routes register with
1)Login

2)Reset

3)Verify

I hope this Laravel register route tutorial help you.

Happy coding :)

Post a Comment

Previous Post Next Post