From: Roland Häder Date: Wed, 24 Oct 2012 21:32:50 +0000 (+0000) Subject: Removed over-hashing with master salt as it generates static salts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ecd1c13523b25a59af9415fbf78fac8b983b0156;p=mailer.git Removed over-hashing with master salt as it generates static salts --- diff --git a/inc/functions.php b/inc/functions.php index 1c555e08ac..0f372b79a7 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -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