From: tokul Date: Sun, 22 May 2005 13:46:06 +0000 (+0000) Subject: using squirrelmail functions instead of working with $_SESSION directly X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=775edf4f6bc3908670e0e9f749ece01fec51c2fb;ds=sidebyside using squirrelmail functions instead of working with $_SESSION directly git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9438 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/plugins/change_password/functions.php b/plugins/change_password/functions.php index 09d0cd45..d798966e 100644 --- a/plugins/change_password/functions.php +++ b/plugins/change_password/functions.php @@ -100,7 +100,7 @@ function cpw_do_change() /* update our password stored in the session */ $onetimepad = OneTimePadCreate(strlen($newpw)); - $_SESSION['onetimepad'] = $onetimepad; + sqsession_register($onetimepad,'onetimepad'); $key = OneTimePadEncrypt($newpw, $onetimepad); setcookie('key', $key, 0, $base_uri);