]> git.mxchange.org Git - mailer.git/commitdiff
Removed over-hashing with master salt as it generates static salts
authorRoland Häder <roland@mxchange.org>
Wed, 24 Oct 2012 21:32:50 +0000 (21:32 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 24 Oct 2012 21:32:50 +0000 (21:32 +0000)
inc/functions.php

index 1c555e08ac7d220e1e076cfc340b4c8968d09f65..0f372b79a7843578bebc7b0afb51fddc8c1d72fc 100644 (file)
@@ -898,8 +898,9 @@ function encodeHashForCookie ($passHash) {
                        $newHash .= $mod;
                } // END - for
 
+               // Just copy it over, as the master salt is not really helpful here
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, $passHash . ',' . $newHash . ' (' . strlen($newHash) . ')');
-               $ret = generateHash($newHash, getMasterSalt());
+               $ret = $newHash;
        } // END - if
 
        // Return result