Merge pull request #6410 from pixelfed/shleeable-patch-9

Bugfix: Missing status filter exposes suspended/disabled profiles via ActivityPub in getCachedUser(withTrashed)
pull/6441/head
dansup 3 weeks ago committed by GitHub
commit ebb119e4df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -163,7 +163,7 @@ class ProfileController extends Controller
->first();
} else {
return Profile::withTrashed()
->whereNull('domain')
->whereNull(['domain', 'status'])
->whereUsername($username)
->first();
}

Loading…
Cancel
Save