I'm using Vagrant + Homestead + VirtualBox and Laravel 5.4, middleware redirecting not authenticated users to login page, which is on different url:
return redirect()->away(env('APP_LOGIN') . '&logout=true');
My .env file:
APP_LOGIN=http://login.app/
But when redirect happens, it's redirect to
http://login.app/://login.app/
How to fix it?