CI
This commit is contained in:
parent
77feb6e23f
commit
7e49cc12d3
2 changed files with 2 additions and 0 deletions
|
|
@ -342,6 +342,7 @@ if (GETPOST('forcegetkeyobfuscation')) {
|
|||
print '<div class="error">'.$e->getMessage().'</div>';
|
||||
}
|
||||
|
||||
$obfuscationkey = '';
|
||||
try {
|
||||
$obfuscationkey = $block_static->getObfuscationKey(); // Note: use the $mysoc->idprof1 and $registrationnumber. On network trouble, an Exception is thrown to the caller
|
||||
print "\n<!-- API TO GET REMOTE OBFUSCATION KEY RETURNED result: ".$obfuscationkey." -->\n";
|
||||
|
|
|
|||
|
|
@ -1604,6 +1604,7 @@ class BlockedLog
|
|||
|
||||
// Get the obfuscation key from ping.dolibarr.org (used just after to decode HMAC secret key)
|
||||
$errormsg = '';
|
||||
$obfuscationkey = '';
|
||||
try {
|
||||
$obfuscationkey = $this->getObfuscationKey(); // Get obfuscation key providing $mysoc->idprof1 and $registrationnumber. Note: On network trouble, an Exception is thrown to the caller
|
||||
} catch (Exception $e) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue