service/pam: add responseVisible

Fixes misunderstanding of "echo".
This commit is contained in:
outfoxxed 2024-06-19 00:31:09 -07:00
parent 6efa05a8eb
commit 59cf60d83e
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
3 changed files with 22 additions and 18 deletions

View file

@ -123,12 +123,7 @@ void PamConversation::onMessage() {
if (!ok) goto fail;
this->message(
QString::fromUtf8(message),
/*flags.echo*/ true,
flags.error,
flags.responseRequired
);
this->message(QString::fromUtf8(message), flags.error, flags.responseRequired, flags.echo);
} else {
qCCritical(logPam) << "Unexpected message from subprocess.";
goto fail;