fix: now deals with the correct path for the old ssh accounts

This commit is contained in:
silver 2023-08-24 18:54:22 +01:00
parent 32d693fa8c
commit ce471ad39a
6 changed files with 23 additions and 9 deletions

View file

@ -206,7 +206,7 @@ pub fn get_config() -> Config {
mail_smtp: "".to_string(),
mail_user: "".to_string(),
mail_pass: "".to_string(),
ssh_root: "/skynet_old/home".to_string(),
ssh_root: "skynet_old".to_string(),
};
if let Ok(x) = env::var("LDAP_HOST") {