upd: display correct `approval_required` value on masto instance endpoint
This commit is contained in:
parent
cab0ec5de1
commit
288fa1143d
|
@ -28,7 +28,7 @@ export async function getInstance(
|
|||
thumbnail: meta.backgroundImageUrl || '/static-assets/transparent.png',
|
||||
languages: meta.langs,
|
||||
registrations: !meta.disableRegistration || response.registrations,
|
||||
approval_required: !response.registrations,
|
||||
approval_required: meta.approvalRequiredForSignup,
|
||||
invites_enabled: response.registrations,
|
||||
configuration: {
|
||||
accounts: {
|
||||
|
|
Loading…
Reference in New Issue