Upgrade PHP files
This commit is contained in:
@@ -5708,9 +5708,8 @@ class G
|
||||
$conf = new Configurations();
|
||||
$flag = $conf->getConfiguration('AUDIT_LOG', 'log');
|
||||
$flagAudit = $flag == 'true' ? true : false;
|
||||
/*----------------------------------********---------------------------------*/
|
||||
$licensedFeatures = PMLicensedFeatures::getSingleton();
|
||||
if ($flagAudit && $licensedFeatures->verifyfeature('vtSeHNhT0JnSmo1bTluUVlTYUxUbUFSVStEeXVqc1pEUG5EeXc0MGd2Q3ErYz0=')) {
|
||||
|
||||
if ($flagAudit) {
|
||||
$userUid = 'Unknow User';
|
||||
$fullName = '-';
|
||||
if (isset($_SESSION['USER_LOGGED']) && $_SESSION['USER_LOGGED'] != '') {
|
||||
@@ -5734,7 +5733,6 @@ class G
|
||||
];
|
||||
Log::channel('audit:' . $actionToLog)->info($message, Bootstrap::context($context));
|
||||
}
|
||||
/*----------------------------------********---------------------------------*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1010,17 +1010,6 @@ class RBAC
|
||||
*/
|
||||
public function VerifyLogin($strUser, $strPass)
|
||||
{
|
||||
/*----------------------------------********---------------------------------*/
|
||||
|
||||
$licenseManager = PmLicenseManager::getSingleton();
|
||||
if (in_array(
|
||||
G::encryptOld($licenseManager->result),
|
||||
['38afd7ae34bd5e3e6fc170d8b09178a3', 'ba2b45bdc11e2a4a6e86aab2ac693cbb']
|
||||
)) {
|
||||
return -7;
|
||||
}
|
||||
/*----------------------------------********---------------------------------*/
|
||||
|
||||
if (strlen($strPass) === 0) {
|
||||
return -2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user