Merge pull request #5667 from pixelfed/staging

Update ApiV1Controller.php
pull/5679/head
daniel 4 weeks ago committed by GitHub
commit 55f8ca542e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1720,7 +1720,7 @@ class ApiV1Controller extends Controller
'approval_required' => (bool) config_cache('instance.curated_registration.enabled'),
'contact_account' => $contact,
'rules' => $rules,
'mobile_registration' => config('auth.in_app_registration'),
'mobile_registration' => (bool) config_cache('pixelfed.open_registration') && config('auth.in_app_registration'),
'configuration' => [
'media_attachments' => [
'image_matrix_limit' => 16777216,

Loading…
Cancel
Save