Skip to content

Commit

Permalink
[TASK] Small code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
einpraegsam committed Nov 8, 2024
1 parent f434f27 commit 230cd67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Domain/Factory/VisitorFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function __construct(string $identificator, bool $tempVisitor = false)
{
$this->checkIdentificator($identificator);
if ($identificator === '' && $tempVisitor === true) {
$identificator = StringUtility::getRandomString(32, false);
$identificator = StringUtility::getRandomString(Fingerprint::IDENTIFICATOR_LENGTH_FINGERPRINT, false);
}
$this->fingerprint = GeneralUtility::makeInstance(Fingerprint::class)
->setValue($identificator)
Expand Down

0 comments on commit 230cd67

Please sign in to comment.