A user can access home page without authentication
Basically what i want to do , I am creating a Ecommerce website but when i run a command php artisan ui:auth it creates all neccessary files but main problem is it can't allow a user to access homepage without login or registration what to do ???
check the HomeController or any controller related and add the except to exclude the authentication checking for the resource you don't need, for example:
public function __construct()
{
$this->middleware('auth', ['except' => ['index', 'show']]);
}