Commit 12e1258c authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fix. We were storing the hash in the browser under

two different domain tags. Confused Firefox 12.
parent e20392b3
<?php <?php
# #
# EMULAB-COPYRIGHT # EMULAB-COPYRIGHT
# Copyright (c) 2000-2007, 2009 University of Utah and the Flux Group. # Copyright (c) 2000-2012 University of Utah and the Flux Group.
# All rights reserved. # All rights reserved.
# #
include("defs.php3"); include("defs.php3");
...@@ -192,7 +192,7 @@ $keyB = substr($key, 16); ...@@ -192,7 +192,7 @@ $keyB = substr($key, 16);
# Send half of the key to the browser and half in the email message. # Send half of the key to the browser and half in the email message.
setcookie($TBAUTHCOOKIE, $keyA, 0, "/", setcookie($TBAUTHCOOKIE, $keyA, 0, "/",
$TBAUTHDOMAIN, $TBSECURECOOKIES); $WWWHOST, $TBSECURECOOKIES);
# It is okay to spit this now that we have sent the cookie. # It is okay to spit this now that we have sent the cookie.
PAGEHEADER("Forgot Your Password?", $view); PAGEHEADER("Forgot Your Password?", $view);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment