From e3fec5885ad58661c7c5328d6ac408e0b22bf53f Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 16 Nov 2021 16:17:38 -0800 Subject: [PATCH] Fixes logic on nodeinfo page --- bookwyrm/views/wellknown.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bookwyrm/views/wellknown.py b/bookwyrm/views/wellknown.py index de4f7e62..a9b35b63 100644 --- a/bookwyrm/views/wellknown.py +++ b/bookwyrm/views/wellknown.py @@ -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, } )