Rename get_passwd to get_user_password

This commit is contained in:
Nikola Petrov 2023-08-26 01:59:55 +02:00
parent 57af63a71c
commit 92743427c5
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#pragma once
bool put_data_on_clipboard(const char* text);
std::string get_passwd();
std::string get_user_password();

View File

@ -88,7 +88,7 @@ int main(int argc, char** argv)
}
printf_s("Input main password:");
std::string user_pass = get_passwd();
std::string user_pass = get_user_password();
if (user_pass.empty())
{
printf_s("Error getting password\n");

View File

@ -40,7 +40,7 @@ bool put_data_on_clipboard(const char* text) {
}
std::string get_passwd()
std::string get_user_password()
{
HANDLE hStdInput = GetStdHandle(STD_INPUT_HANDLE);