Add a config.json option for enabling registration, don't link and redirect away from register page when it's disabled.

This commit is contained in:
Shpuld Shpuldson 2017-06-20 10:37:51 +03:00
parent bfbc94d697
commit 1a5ee95ee4
5 changed files with 12 additions and 4 deletions

View file

@ -2,5 +2,6 @@
"name": "Pleroma FE",
"theme": "base16-pleroma-dark.css",
"background": "/static/bg.jpg",
"logo": "/static/logo.png"
"logo": "/static/logo.png",
"registrationOpen": false
}