summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorroot <root@cacert1.it-sls.de>2012-03-11 20:52:45 +0100
committerroot <root@cacert1.it-sls.de>2012-03-11 20:52:45 +0100
commit401336fe9c0508a5ce037dd12972ebf3d9318e5c (patch)
treeb325c4e3b0fc4ed2baee31e08474730dfadfa9be /pages
parent95f3a187a398a83f5bca130ed6385c8db080521e (diff)
downloadcacert-devel-401336fe9c0508a5ce037dd12972ebf3d9318e5c.tar.gz
cacert-devel-401336fe9c0508a5ce037dd12972ebf3d9318e5c.tar.xz
cacert-devel-401336fe9c0508a5ce037dd12972ebf3d9318e5c.zip
bug 1023 added the two missing lines, which caused the race condition by their absence
Diffstat (limited to 'pages')
-rw-r--r--pages/wot/6.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/pages/wot/6.php b/pages/wot/6.php
index 165be36..71f65ae 100644
--- a/pages/wot/6.php
+++ b/pages/wot/6.php
@@ -39,6 +39,8 @@ function makecap()
$lname = $row['lname'];
$suffix = $row['suffix'];
$dob = $row['dob'];
+ $name = $row['fname']." ".$row['mname']." ".$row['lname']." ".$row['suffix'];
+ $_SESSION['_config']['wothash'] = md5($name."-".$dob);
$cap=makecap($fname,$mname,$lname,$suffix,$dob,$row['email'],$_SESSION['profile']['fname'].$_SESSION['profile']['mname'].$_SESSION['profile']['lname'].$_SESSION['profile']['suffix']);