forked from quickshell/quickshell
service/pam: add responseVisible
Fixes misunderstanding of "echo".
This commit is contained in:
parent
6efa05a8eb
commit
59cf60d83e
3 changed files with 22 additions and 18 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue