Add MaxBlogs config value

Plus update copy / options / templates in the config process.
This commit is contained in:
Matt Baer
2018-11-07 22:06:34 -05:00
parent 342542444d
commit 8ab29d89da
3 changed files with 96 additions and 42 deletions

View File

@@ -35,6 +35,7 @@ type (
SingleUser bool `ini:"single_user"`
OpenRegistration bool `ini:"open_registration"`
MinUsernameLen int `ini:"min_username_len"`
MaxBlogs int `ini:"max_blogs"`
// Federation
Federation bool `ini:"federation"`
@@ -65,6 +66,7 @@ func New() *Config {
WebFonts: true,
SingleUser: true,
MinUsernameLen: 3,
MaxBlogs: 1,
Federation: true,
PublicStats: true,
},