2022-11-07 21:30:12 +01:00
|
|
|
version = "1.0"
|
|
|
|
|
|
|
|
[main]
|
|
|
|
name = "HedgeDoc configuration"
|
|
|
|
|
|
|
|
[main.config]
|
|
|
|
name = "Configuration Options"
|
|
|
|
|
|
|
|
[main.config.allow_anonymous]
|
|
|
|
ask = "Allow anonymous usage"
|
|
|
|
type = "boolean"
|
|
|
|
yes = "true"
|
|
|
|
no = "false"
|
|
|
|
help = "Set to allow anonymous usage (default is true)."
|
|
|
|
bind = "allow_anonymous:__FINALPATH__/config.json"
|
|
|
|
|
|
|
|
[main.config.allow_email_registration]
|
|
|
|
ask = "Allow email registration"
|
|
|
|
type = "boolean"
|
|
|
|
yes = "true"
|
|
|
|
no = "false"
|
|
|
|
help = "Set to allow registration of new accounts using an email address. If set to false, you can still create accounts using the command line."
|
|
|
|
bind = "allow_email_registration:__FINALPATH__/config.json"
|
|
|
|
|
2023-01-21 12:24:42 +01:00
|
|
|
[main.config.allow_free_url]
|
|
|
|
ask = "Allow email registration"
|
|
|
|
type = "boolean"
|
|
|
|
yes = "true"
|
|
|
|
no = "false"
|
|
|
|
help = "Set to allow new note creation by accessing a nonexistent note URL. This is the behavior familiar from Etherpad."
|
|
|
|
bind = "allow_free_url:__FINALPATH__/config.json"
|
|
|
|
|
|
|
|
|
|
|
|
|