mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update InternalApiController, limit remote profile ui to remote profiles
This commit is contained in:
parent
6ac7f4ffcc
commit
d918a68e8b
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue