Skip to content

Commit

Permalink
Made ENTER end password input when blank
Browse files Browse the repository at this point in the history
  • Loading branch information
7thSamurai committed May 9, 2024
1 parent 67e11d3 commit 89d82da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ int main(int argc, char **argv) {
}
else {
std::cout << "Password: ";
std::cin >> str;
std::getline(std::cin, str);
}

// Generate the password hash
Expand Down

0 comments on commit 89d82da

Please sign in to comment.