Skip to content

Commit

Permalink
Not printing password
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakob Dalsgaard committed Feb 8, 2021
1 parent a63d633 commit 9fff615
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ impl Config {
println!("--- tado° exporter configuration ---");
println!("Ticker seconds: {}", self.ticker);
println!("Username: {}", self.username);
println!("Password: {}", self.password);
println!("Password: <not printed>");
println!("Client secret: {}", self.client_secret);
println!("------------------------------------");
}
Expand Down Expand Up @@ -73,4 +73,4 @@ mod tests {
assert_eq!(config.password, "123Password!");
assert_eq!(config.client_secret, "123-secret");
}
}
}

0 comments on commit 9fff615

Please sign in to comment.