summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tdmlib/kgreet_classic.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tdmlib/kgreet_classic.cpp b/tdmlib/kgreet_classic.cpp
index bb968d4c1..d22f6979f 100644
--- a/tdmlib/kgreet_classic.cpp
+++ b/tdmlib/kgreet_classic.cpp
@@ -342,7 +342,8 @@ KClassicGreeter::textPrompt( const char *prompt, bool echo, bool nonBlocking )
}
else {
TQString pr( prompt );
- if (pr.find( TQRegExp( "\\bpassword\\b", false ) ) >= 0) {
+ if ((pr.find( TQRegExp( "\\bpassword\\b", false ) ) >= 0)
+ || (pr.find( TQRegExp( "\\bPIN\\b", false ) ) >= 0)) {
if (pr.find( TQRegExp( "\\b(re-?(enter|type)|again|confirm|repeat)\\b",
false ) ) >= 0)
exp = 3;