fix: remove redundant clientId variable in SQL insert statement and use SHA-256 hash for security

This commit is contained in:
jhartworks
2026-04-16 14:02:59 +02:00
parent 536c81ab47
commit 71c02b2973
-1
View File
@@ -74,7 +74,6 @@ class CounterServer extends IPSModule
" . $this->esc($projectId) . "',
'" . $this->esc($counterId) . "',
'" . hash('sha256', $projectId.$clientId . '_' . $counterId) . "',
'" . $this->esc($clientId) . "',
'" . $this->esc($clientName) . "',
'" . $this->esc($type) . "',