mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
Merge branch 'ni/tuxbox' into ni/mp/tuxbox
Origin commit data
------------------
Commit: ee9fb62dee
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-03 (Fri, 03 Nov 2017)
This commit is contained in:
@@ -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() &&
|
||||
|
Reference in New Issue
Block a user