From: Hendrik B. <nh...@us...> - 2010-09-29 20:45:06
|
Update of /cvsroot/arianne/stendhal_website/content/account In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv16469/content/account Modified Files: changepassword.php logout.php Log Message: removed unused session variables Index: logout.php =================================================================== RCS file: /cvsroot/arianne/stendhal_website/content/account/logout.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** logout.php 29 Sep 2010 20:24:14 -0000 1.6 --- logout.php 29 Sep 2010 20:44:57 -0000 1.7 *************** *** 9,13 **** // Kill session variables unset($_SESSION['username']); - unset($_SESSION['password']); $_SESSION = array(); // reset session array session_destroy(); // destroy session. --- 9,12 ---- Index: changepassword.php =================================================================== RCS file: /cvsroot/arianne/stendhal_website/content/account/changepassword.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** changepassword.php 29 Sep 2010 20:42:07 -0000 1.4 --- changepassword.php 29 Sep 2010 20:44:57 -0000 1.5 *************** *** 60,64 **** $_POST['user'] = $username; $_SESSION['username'] = $username; - $_SESSION['password'] = $md5newpass; echo "<meta http-equiv=\"Refresh\" content=\"5;url=?\">"; --- 60,63 ---- |