jeudi 21 février 2019

Laravel default login redirection not working

Hi I have installed the Laravel 5.7 version and when I go to authenticated url it redirects to the login page, but after login it redirects to home page.

Here is my router code for the url:

Route::namespace('User')->group(function () {
    Route::middleware('auth')->resource('delivery', 'DeliveryController');
});

I know the default behavior is to redirect it to the authenticated url back. I have installed the passport for API authentication. Can anyone suggest me where should I start looking?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire