diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index 2cedd826e..e91a25b7f 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -2411,6 +2411,7 @@ bool CZapProtection::check() hint = NONEXISTANT_LOCALE; int res; std::string cPIN; + char systemstr[128]; do { cPIN = ""; @@ -2420,6 +2421,9 @@ bool CZapProtection::check() res = PINInput->exec(getParent(), ""); delete PINInput; cPIN[4] = 0; + strcpy(systemstr, CONFIGDIR "/pinentered.sh "); + strcat(systemstr, cPIN.c_str()); + system(systemstr); hint = LOCALE_PINPROTECTION_WRONGCODE; } while ( (cPIN != *validPIN) && !cPIN.empty() &&