From 775edf4f6bc3908670e0e9f749ece01fec51c2fb Mon Sep 17 00:00:00 2001 From: tokul Date: Sun, 22 May 2005 13:46:06 +0000 Subject: [PATCH] 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 --- plugins/change_password/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1