]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/helper/captcha/web/class_GraphicalCodeCaptcha.php
The 'key' for encryption can now be taken from fixed or daily-changed extra salt
[shipsimu.git] / inc / classes / main / helper / captcha / web / class_GraphicalCodeCaptcha.php
index b3e3b55148e5f855a1ba36fb99470189ee7694f9..6dcf0aa0223734c3300fe03eae76d32a977baa86 100644 (file)
@@ -100,7 +100,7 @@ class GraphicalCodeCaptcha extends BaseCaptcha implements SolveableCaptcha {
                $searchChars = $this->getConfigInstance()->readConfig('captcha_search_chars');
 
                // Get fixed salt and use it as "replacement characters"
-               $replaceChars = $this->getRngInstance()->getFixedSalt();
+               $replaceChars = $this->getRngInstance()->getExtraSalt();
 
                // Remove any plus, equals or slashes
                for ($searchIdx = 0; $searchIdx < strlen($searchChars); $searchIdx++) {