Suppress another unwanted PKCS#11 PAM message

pull/2/head
Timothy Pearson 9 years ago
parent 9ea6780352
commit 1ec002a8ee

@ -287,7 +287,8 @@ KClassicGreeter::textMessage( const char *text, bool err )
if (!err && suppressInfoMsg) {
return true;
}
if (!err && ((TQString(text).lower().find("smartcard") >= 0) || (TQString(text).lower().find("smart card") >= 0))) {
if ((!err && ((TQString(text).lower().find("smartcard") >= 0) || (TQString(text).lower().find("smart card") >= 0)))
||(err && (TQString(text).lower().find(" 2306:") >= 0))) {
// FIXME
// pam_pkcs11 is extremely chatty, even with no card inserted,
// and there is no apparent way to disable the unwanted messages!

Loading…
Cancel
Save