mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
nodeinfo - open registrations
This commit is contained in:
parent
04a68a4298
commit
401df0cc58
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue