nodeinfo - open registrations

This commit is contained in:
rimu 2024-10-23 16:08:24 +13:00
parent 04a68a4298
commit 401df0cc58

View file

@ -153,7 +153,7 @@ def nodeinfo2():
"localPosts": local_posts(),
"localComments": local_comments()
},
"openRegistrations": g.site.registration_mode == 'Open'
"openRegistrations": g.site.registration_mode != 'Closed'
}
return jsonify(nodeinfo_data)