diff --git a/inc/users.class.php b/inc/users.class.php index b2142f31..e71a68dd 100644 --- a/inc/users.class.php +++ b/inc/users.class.php @@ -1235,7 +1235,7 @@ class SP_Users { if ($showPass == TRUE) { return $clearMasterPass; } else { - $_SESSION['mPassPwd'] = uniqid(); + $_SESSION['mPassPwd'] = SHA1(uniqid()); $sessionMasterPass = $crypt->mkCustomMPassEncrypt($_SESSION["mPassPwd"], $clearMasterPass);