Update FederationController, add captcha to nodeinfo. Fixes https://todon.nl/users/v0idifier/statuses/101407970516293946

This commit is contained in:
Daniel Supernault 2019-01-13 00:10:07 -07:00
parent 7316ee38c4
commit b4221833e3
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -89,6 +89,7 @@ class FederationController extends Controller
'github' => 'https://github.com/pixelfed',
'follow' => 'https://mastodon.social/@pixelfed',
],
'captcha' => (bool) config('pixelfed.recaptcha'),
],
'openRegistrations' => config('pixelfed.open_registration'),
'protocols' => [