这里:
$user = User::where('confirmation_token',$token)->first();
if (is_null($user)){
return redirect('/');
}
$user->is_active = 1 ;
$user->confirmation_token =str_random(40);
$user->save();
Auth::login(); // 应该试试 Auth::login($user); 吧
return redirect('/home');