diff --git a/core/class/template.class.php b/core/class/template.class.php index e1f4a518..f85110cb 100644 --- a/core/class/template.class.php +++ b/core/class/template.class.php @@ -55,11 +55,16 @@ class template { $secondNumber = rand ( 0 , count($letters)-1 ); $result = $firstNumber + $secondNumber; $result = password_hash($result, PASSWORD_BCRYPT); + $firstLetter = uniqid(); + $secondLetter = uniqid(); + // Masquage image source + copy ('core/vendor/zwiico/png/'.$letters[$firstNumber] . '.png','site/tmp/' . $firstLetter . '.png'); + copy ('core/vendor/zwiico/png/'.$letters[$secondNumber] . '.png','site/tmp/' . $secondLetter . '.png'); // Début du wrapper $html = '