fix: default config options

This commit is contained in:
Timo Kösters 2021-02-07 13:20:00 +01:00
parent 6924dfc8ea
commit ea1e4625d1
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4
2 changed files with 4 additions and 4 deletions

View file

@ -32,7 +32,7 @@ pub struct Config {
max_request_size: u32,
#[serde(default = "default_max_concurrent_requests")]
max_concurrent_requests: u16,
#[serde(default)]
#[serde(default = "true_fn")]
allow_registration: bool,
#[serde(default = "true_fn")]
allow_encryption: bool,