aboutsummaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/model')
-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 f40b0fb..ba923d6 100644
--- a/src/model/config.rs
+++ b/src/model/config.rs
@@ -4,7 +4,6 @@ use std::str::FromStr;
#[derive(Clone)]
pub struct Config {
- pub auth_secret: String,
pub db_path: String,
pub secure_cookies: bool,
pub socket_address: SocketAddr,
@@ -12,7 +11,6 @@ pub struct Config {
pub fn from_env() -> Result<Config, String> {
Ok(Config {
- auth_secret: read_string("AUTH_SECRET")?,
db_path: read_string("DB_PATH")?,
secure_cookies: read_bool("SECURE_COOKIES")?,
socket_address: read_socket_address("SOCKET_ADDRESS")?,