mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-24 02:21:04 +00:00
Fixes logic on nodeinfo page
This commit is contained in:
parent
d0e431cff5
commit
e3fec5885a
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