francisceril's avatar

How to disable/remove Auth registration, password resets?

I am authenticating to an existing database and thus I have no need of the Auth Registration, Forgot and Reset Password defaults of Laravel because this are done on a separate app. Is it safe to just delete the controllers in app\Http\Controllers\Auth\ directory?

0 likes
2 replies
Snapey's avatar

You could but also remove the routes.

munazzil's avatar

You can use customized route and all with your web.php and remove the default auth routes from your routes file.

       Auth::routes();

and type below command in your cmd and remove unwanted routes and keep whatever routes do you need,

       php artisan route:list

Please or to participate in this conversation.