check()) { $allowed = $this->allowedRoutes; if (config('pixelfed.open_registration')) { $allowed = array_merge($allowed, $this->registrationRoutes); } if (! $request->is($allowed)) { return redirect('/login'); } } } return $next($request); } }