summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index 124893b..bfb28be 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -25,6 +25,7 @@ impl Config {
25 .set_default("pingtimeout", 10)? 25 .set_default("pingtimeout", 10)?
26 .set_default("pingthreshold", 1)? 26 .set_default("pingthreshold", 1)?
27 .set_default("timeoffset", 0)? 27 .set_default("timeoffset", 0)?
28 .set_default("auth.method", "none")?
28 .set_default("auth.secret", "")? 29 .set_default("auth.secret", "")?
29 .add_source(File::with_name("config.toml").required(false)) 30 .add_source(File::with_name("config.toml").required(false))
30 .add_source(File::with_name("config.dev.toml").required(false)) 31 .add_source(File::with_name("config.dev.toml").required(false))