aboutsummaryrefslogtreecommitdiff
path: root/src/model/config.rs
diff options
context:
space:
mode:
authorJoris Guyonvarch2025-08-30 09:32:27 +0200
committerJoris Guyonvarch2025-08-30 09:32:27 +0200
commit2a6bcee45086bca9128489de19908984ea1be0da (patch)
tree2e5e1b0e50109385b5d3daaabed00efb450f4b62 /src/model/config.rs
parent164538a57a5b7c19c993862a6badc85fd723380e (diff)
Remove weekly report jobmain
Diffstat (limited to 'src/model/config.rs')
-rw-r--r--src/model/config.rs4
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")?,
})