Update ConnectionParameters.h

This commit is contained in:
alexey-milovidov 2019-02-02 20:52:57 +03:00 committed by GitHub
parent 69c18786cb
commit fb297b78ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,8 @@ struct ConnectionParameters
{
password = config.getString("password", "");
/// if the value of --password is omitted, the password will be set implicitly to "\n"
if (password == "\n") password_prompt = true;
if (password == "\n")
password_prompt = true;
}
if (password_prompt)
{