Skip to content

Commit

Permalink
Merge pull request #859 from messense/rpassword-6.0
Browse files Browse the repository at this point in the history
Update rpassword to 6.0.1
  • Loading branch information
messense authored Mar 20, 2022
2 parents 09079b3 + 4c11a79 commit be6c52b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ clap_complete_fig = "3.1.0"
# upload
configparser = { version = "3.0.0", optional = true }
multipart = { version = "0.18.0", features = ["client"], default-features = false, optional = true }
rpassword = { version = "5.0.1", optional = true }
rpassword = { version = "6.0.1", optional = true }
ureq = { version = "2.3.1", features = ["gzip"], default-features = false, optional = true }
native-tls-crate = { package = "native-tls", version = "0.2.8", optional = true }

Expand Down
2 changes: 1 addition & 1 deletion src/upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ fn get_password(_username: &str) -> String {
};
}

rpassword::prompt_password_stdout("Please enter your password: ").unwrap_or_else(|_| {
rpassword::prompt_password("Please enter your password: ").unwrap_or_else(|_| {
// So we need this fallback for pycharm on windows
let mut password = String::new();
io::stdin()
Expand Down

0 comments on commit be6c52b

Please sign in to comment.