fix: no need to have discord bot stuff in here
This commit is contained in:
parent
aa0cfc017d
commit
00ac57de63
2 changed files with 0 additions and 12 deletions
|
@ -185,7 +185,6 @@ pub struct Config {
|
|||
pub mail_user: String,
|
||||
pub mail_pass: String,
|
||||
pub ssh_root: String,
|
||||
pub auth_discord: String,
|
||||
pub users_restricted: Vec<String>,
|
||||
pub wolves_url: String,
|
||||
pub wolves_key: String,
|
||||
|
@ -206,7 +205,6 @@ pub fn get_config() -> Config {
|
|||
mail_user: "".to_string(),
|
||||
mail_pass: "".to_string(),
|
||||
ssh_root: "skynet_old".to_string(),
|
||||
auth_discord: "".to_string(),
|
||||
users_restricted: vec![],
|
||||
wolves_url: "".to_string(),
|
||||
wolves_key: "".to_string(),
|
||||
|
@ -242,9 +240,6 @@ pub fn get_config() -> Config {
|
|||
if let Ok(x) = env::var("SSH_ROOT") {
|
||||
config.ssh_root = x.trim().to_string();
|
||||
}
|
||||
if let Ok(x) = env::var("LDAP_DISCORD_AUTH") {
|
||||
config.auth_discord = x.trim().to_string();
|
||||
}
|
||||
if let Ok(x) = env::var("WOLVES_URL") {
|
||||
config.wolves_url = x.trim().to_string();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue