Login infinite redirect

Posted 1 year ago by staticcode

Hi guys, I just added Auth to my project. it works fine as far as I can see except for the fact that when I use a new browser (in which I have not logged in yet), as expected it will redirect me to xxx.xxx.xxx.xxx/admin/public/login but the browser will give me an error :


Does anyone know where to look and or how to solve this? I am using Laravel 5.6 :)

Route::get('/', function () {
    return view('layout');


// all my routes here that should be protected, and this part works!



Route::get('/home', '[email protected]')->name('home');

Please sign in or create an account to participate in this conversation.