diff --git a/config/default.toml b/config/default.toml index d587679..c62be8d 100644 --- a/config/default.toml +++ b/config/default.toml @@ -1,8 +1,5 @@ debug = true source_code = "https://github.com/realaravinth/dumbserve" -commercial = false -allow_demo = true -allow_registration = true [server] # Please set a unique value, your mCaptcha instance's security depends on this being diff --git a/src/settings.rs b/src/settings.rs index 163f41c..e6d8862 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -92,12 +92,10 @@ impl Files { #[derive(Debug, Clone, Deserialize)] pub struct Settings { pub debug: bool, - pub commercial: bool, // pub database: Database, pub server: Server, pub source_code: String, pub files: Files, - pub allow_registration: bool, } #[cfg(not(tarpaulin_include))]