Update of last activitity and action in user added, refresh of auth cookies added
[shipsimu.git] / inc / classes / main / crypto / class_CryptoHelper.php
index 93502cbce1e3b4fd2c487d349a6012125415b639..182d870e318c7a6cc0fe727851ccdbfc67556780 100644 (file)
@@ -142,10 +142,10 @@ class CryptoHelper extends BaseFrameworkSystem {
                }
 
                // Hash the password with salt
-               //* DEBUG: */ echo $salt."/".$plainPassword."/".$this->rngInstance->getExtraSalt()."<br />\n";
+               //* DEBUG: */ echo "salt=".$salt."/plain=".$plainPassword."<br />\n";
                $hashed = $salt . md5(sprintf($this->getConfigInstance()->readConfig('hash_mask'),
                        $salt,
-                       $this->rngInstance->getExtraSalt(),
+                       $this->rngInstance->getFixedSalt(),
                        $plainPassword
                ));