Update ApiV1Controller.php

pull/5667/head
Daniel Supernault 3 months ago
parent 3347ea1a76
commit 42173245fc
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -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