Commit bcdfa2dd authored by Giovanni Panozzo's avatar Giovanni Panozzo

Fix SSH password are always saved, issue #1224

parent b278dcb6
......@@ -432,7 +432,8 @@ remmina_ssh_auth_gui (RemminaSSH *ssh, RemminaInitDialog *dialog, RemminaFile *r
if (ret == GTK_RESPONSE_OK)
{
remmina_file_set_string( remminafile, pwdtype, dialog->password);
if (dialog->save_password)
remmina_file_set_string(remminafile, pwdtype, dialog->password);
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment