diff --git a/Classes/Domain/Model/Fingerprint.php b/Classes/Domain/Model/Fingerprint.php index e99f4a00..e09d57f9 100644 --- a/Classes/Domain/Model/Fingerprint.php +++ b/Classes/Domain/Model/Fingerprint.php @@ -7,6 +7,7 @@ use In2code\Lux\Exception\FingerprintMustNotBeEmptyException; use In2code\Lux\Utility\BackendUtility; use In2code\Lux\Utility\EnvironmentUtility; +use In2code\Lux\Utility\IpUtility; use TYPO3\CMS\Core\Utility\GeneralUtility; use WhichBrowser\Parser; @@ -52,7 +53,7 @@ public function setValue(string $value): self if (strlen($value) === 33) { $this->setType(self::TYPE_STORAGE); } - $this->value = $value; + $this->value = hash('sha256', $value . IpUtility::getIpAddress()); return $this; }