Skip to content

Commit 55f956e

Browse files
committed
Debug
1 parent f432af5 commit 55f956e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

captureserver/public/index.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@
155155
if ($action == 'dolibarrgetkeyobfuscation') {
156156
$tmparray = json_decode($contenttoinsert, true, 2);
157157

158+
/*
158159
if ($tmparray['company_idprof1'] != $captureserver->registerprofid) {
159160
$message = 'The professional ID received ('.$tmparray['company_idprof1'].') is not the same than the one registered ('.$captureserver->registerprofid.') for registration number '.$hash_unique_id.' or was never registered. Go to the setup page of module BlockedLog to (re)register your instance for this professional ID.';
160161
dol_syslog($message, LOG_DEBUG, 0, '_captureserver');
@@ -164,6 +165,7 @@
164165
$db->close();
165166
exit;
166167
}
168+
*/
167169

168170
// Return the obfuscation key
169171
print 'DOLOBFUSCKEYV1'.hash('sha256', $tmparray['company_idprof1'].getDolGlobalString('CAPTURESERVER_SALT_FOR_OBFUSCATIONKEY'))."\n";

0 commit comments

Comments
 (0)