Skip to content

Commit fa1447e

Browse files
committed
Generate passwords using concatenation instead of spaces
1 parent 6e50e3f commit fa1447e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,8 +803,9 @@ Warning: Saving will discard all the entries that could not be recovered.
803803
}
804804
UserSelection::GeneratePassphrase(index_opt, mut entry) => {
805805
debug!("UserSelection::GoTo(Menu::GeneratePassphrase)");
806-
entry.pass = rs_password_utils::dice::generate(
806+
entry.pass = rs_password_utils::dice::generate_with_separator(
807807
s.props.generated_passphrases_words_count() as usize,
808+
"_"
808809
);
809810
match index_opt {
810811
Some(index) => s

0 commit comments

Comments
 (0)