1
0
Fork 0

Update InternalApiController, limit remote profile ui to remote profiles

This commit is contained in:
Daniel Supernault 2020-04-16 20:18:32 -06:00
parent 6ac7f4ffcc
commit d918a68e8b
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 0 deletions

View File

@ -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();