Skip to content
Snippets Groups Projects
Commit f14b7923 authored by Steven Murray's avatar Steven Murray
Browse files

Added comment for rdbms::Login::s_hiddenPassword and made it a constant

parent 6cd2a94e
Branches
Tags
No related merge requests found
......@@ -39,7 +39,7 @@ const char *Login::s_fileFormat = "one of "
"mysql://<username>:<password>@<host>:<port>/<db_name> or "
"postgresql:[connectinfo | URI]";
std::string Login::s_hiddenPassword = "******";
const std::string Login::s_hiddenPassword = "******";
const std::string Login::DbTypeAndConnectionDetails::in_memory = "in_memory";
const std::string Login::DbTypeAndConnectionDetails::oracle = "oracle";
......
......@@ -257,7 +257,10 @@ struct Login {
*/
static const char *s_fileFormat;
static std::string s_hiddenPassword;
/**
* String displayed instead of the actual password.
*/
static const std::string s_hiddenPassword;
private:
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment