Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Commit

Permalink
deps: revert port to rpassword 7 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
decathorpe committed Mar 14, 2023
1 parent 207c19f commit 6371ba0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ path = "src/main.rs"
bodhi = "2.0.1"
chrono = { version = "0.4.19", default-features = false }
dirs = "4"
rpassword = "7"
rpassword = "5.0.1"
secret-service = "2.0.1"
serde = { version = "1.0.134", features = ["derive"] }
serde_json = "1.0.78"
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const USER_AGENT: &str = concat!("bodhi-cli v", env!("CARGO_PKG_VERSION"));

/// This function prompts the user for their FAS password.
fn read_password() -> String {
rpassword::prompt_password("FAS Password: ").expect("Failed to read from console.")
rpassword::prompt_password_stdout("FAS Password: ").expect("Failed to read from console.")
}

/// This function asks for and stores the password in the session keyring.
Expand Down

0 comments on commit 6371ba0

Please sign in to comment.