mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-23 08:46:49 +01:00
* Updated jQuery version
* Updated ZeroClipboard version * New temporary master password function * New help boxes for some functions * New password box with copy to clipboard function * Updated some fields on db structure * Minor bugfixes and UI changes
This commit is contained in:
@@ -1063,7 +1063,7 @@ class SP_Users
|
||||
if ($showPass == true) {
|
||||
return $clearMasterPass;
|
||||
} else {
|
||||
$_SESSION['mPassPwd'] = substr(sha1(uniqid()), 0, 32);
|
||||
$_SESSION['mPassPwd'] = SP_Util::generate_random_bytes(32);
|
||||
|
||||
$sessionMasterPass = SP_Crypt::mkCustomMPassEncrypt($_SESSION["mPassPwd"], $clearMasterPass);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user