path(), $allowed_paths)) { return redirect('boarding'); } return $next($request); } }