forked from mirrors/bookwyrm
Merge pull request #1617 from bookwyrm-social/nodeinfo
Fixes logic on nodeinfo page
This commit is contained in:
commit
f255b5f21d
1 changed files with 2 additions and 1 deletions
|
@ -108,7 +108,8 @@ def instance_info(_):
|
|||
"thumbnail": logo,
|
||||
"languages": ["en"],
|
||||
"registrations": site.allow_registration,
|
||||
"approval_required": site.allow_registration and site.allow_invite_requests,
|
||||
"approval_required": not site.allow_registration
|
||||
and site.allow_invite_requests,
|
||||
"email": site.admin_email,
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue