I am using Laravel Framework 5.4.10, and I am using the regular authentication that
php artisan make:auth
provides. I want to protect the
For newer versions of Laravel, please replace protected $redirectTo = RouteServiceProvider::HOME; with protected $redirectTo = '/newurl'; and replace newurl accordingly.
protected $redirectTo = RouteServiceProvider::HOME;
protected $redirectTo = '/newurl';
newurl
Tested with Laravel version-6