Changed cookie name to avoid conflict with parallel b2 installations.

git-svn-id: https://develop.svn.wordpress.org/trunk@69 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mike Little
2003-05-23 22:21:37 +00:00
parent 7255926c54
commit fa071483d9
4 changed files with 18 additions and 18 deletions

View File

@@ -81,7 +81,7 @@ case "update":
die ("<strong>ERROR</strong>: you typed two different passwords. Go back to correct that.");
$newuser_pass = $HTTP_POST_VARS["pass1"];
$updatepassword = "user_pass='$newuser_pass', ";
setcookie("cafelogpass",md5($newuser_pass),time()+31536000);
setcookie("wordpresspass",md5($newuser_pass),time()+31536000);
}
$newuser_firstname=addslashes($HTTP_POST_VARS["newuser_firstname"]);
@@ -120,7 +120,7 @@ case "viewprofile":
get_currentuserinfo();
*/ $profiledata=get_userdata($user);
if ($HTTP_COOKIE_VARS["cafeloguser"] == $profiledata["user_login"])
if ($HTTP_COOKIE_VARS["wordpressuser"] == $profiledata["user_login"])
header ("Location: b2profile.php");
$profile=1; /**/