From ecd1c13523b25a59af9415fbf78fac8b983b0156 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 24 Oct 2012 21:32:50 +0000 Subject: [PATCH] Removed over-hashing with master salt as it generates static salts --- inc/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5