diff options
Diffstat (limited to 'src/model/config.rs')
-rw-r--r-- | src/model/config.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/model/config.rs b/src/model/config.rs index e0267d5..f40b0fb 100644 --- a/src/model/config.rs +++ b/src/model/config.rs @@ -6,8 +6,6 @@ use std::str::FromStr; pub struct Config { pub auth_secret: String, pub db_path: String, - pub mails_mock: bool, - pub mails_from: String, pub secure_cookies: bool, pub socket_address: SocketAddr, } @@ -16,8 +14,6 @@ pub fn from_env() -> Result<Config, String> { Ok(Config { auth_secret: read_string("AUTH_SECRET")?, db_path: read_string("DB_PATH")?, - mails_mock: read_bool("MAILS_MOCK")?, - mails_from: read_string("MAILS_FROM")?, secure_cookies: read_bool("SECURE_COOKIES")?, socket_address: read_socket_address("SOCKET_ADDRESS")?, }) |