mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-24 03:43:42 -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(),
|
"localPosts": local_posts(),
|
||||||
"localComments": local_comments()
|
"localComments": local_comments()
|
||||||
},
|
},
|
||||||
"openRegistrations": g.site.registration_mode == 'Open'
|
"openRegistrations": g.site.registration_mode != 'Closed'
|
||||||
}
|
}
|
||||||
return jsonify(nodeinfo_data)
|
return jsonify(nodeinfo_data)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue