aboutsummaryrefslogtreecommitdiff
path: root/src/model/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/config.rs')
-rw-r--r--src/model/config.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/model/config.rs b/src/model/config.rs
index 1fa5bb4..f40b0fb 100644
--- a/src/model/config.rs
+++ b/src/model/config.rs
@@ -6,7 +6,6 @@ use std::str::FromStr;
pub struct Config {
pub auth_secret: String,
pub db_path: String,
- pub mock_mails: bool,
pub secure_cookies: bool,
pub socket_address: SocketAddr,
}
@@ -15,7 +14,6 @@ pub fn from_env() -> Result<Config, String> {
Ok(Config {
auth_secret: read_string("AUTH_SECRET")?,
db_path: read_string("DB_PATH")?,
- mock_mails: read_bool("MOCK_MAILS")?,
secure_cookies: read_bool("SECURE_COOKIES")?,
socket_address: read_socket_address("SOCKET_ADDRESS")?,
})