Support the ongoing development of Laravel.io →
posted 6 years ago
Last updated 1 year ago.
0

my analysis is,

Your activation is successful.. then redirect to /home

while your HomeController has auth midleware.. hence you need to be (logged in) or (Auth::check == true) in order to access /home controller

you can check your HomeController via terminal php artisan route:list

to remove the Auth middleware

  1. remove $this->middleware('auth) in __construct in App\Controller\HomeController.php
  2. in Route/web.php add ->middleware('') after Route::get(/home)->middleware('')
  3. or you can keep using current logic but without and confussion :D
Last updated 6 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

bennyboy benoit1980 Joined 10 Sep 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.