mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 09:13:08 +02:00
upd: display correct approval_required
value on masto instance endpoint
This commit is contained in:
parent
cab0ec5de1
commit
288fa1143d
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ export async function getInstance(
|
||||||
thumbnail: meta.backgroundImageUrl || '/static-assets/transparent.png',
|
thumbnail: meta.backgroundImageUrl || '/static-assets/transparent.png',
|
||||||
languages: meta.langs,
|
languages: meta.langs,
|
||||||
registrations: !meta.disableRegistration || response.registrations,
|
registrations: !meta.disableRegistration || response.registrations,
|
||||||
approval_required: !response.registrations,
|
approval_required: meta.approvalRequiredForSignup,
|
||||||
invites_enabled: response.registrations,
|
invites_enabled: response.registrations,
|
||||||
configuration: {
|
configuration: {
|
||||||
accounts: {
|
accounts: {
|
||||||
|
|
Loading…
Reference in a new issue