From d918a68e8b187a5329a97b91fef84d4bb934c186 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 16 Apr 2020 20:18:32 -0600 Subject: [PATCH] Update InternalApiController, limit remote profile ui to remote profiles --- app/Http/Controllers/InternalApiController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/InternalApiController.php b/app/Http/Controllers/InternalApiController.php index d18eb11b..1706b73c 100644 --- a/app/Http/Controllers/InternalApiController.php +++ b/app/Http/Controllers/InternalApiController.php @@ -422,6 +422,7 @@ class InternalApiController extends Controller public function remoteProfile(Request $request, $id) { $profile = Profile::whereNull('status') + ->whereNotNull('domain') ->findOrFail($id); $user = Auth::user();