Return to lond CVS log | Up to [LON-CAPA] / loncom |
version 1.453, 2010/08/22 03:44:12 | version 1.454, 2010/08/22 19:28:26 |
---|---|
Line 4678 sub tmp_put_handler { | Line 4678 sub tmp_put_handler { |
} | } |
my ($id,$store); | my ($id,$store); |
$tmpsnum++; | $tmpsnum++; |
if ($context eq 'resetpw') { | if (($context eq 'resetpw') || ($context eq 'createaccount')) { |
$id = &md5_hex(&md5_hex(time.{}.rand().$$)); | $id = &md5_hex(&md5_hex(time.{}.rand().$$)); |
} else { | } else { |
$id = $$.'_'.$clientip.'_'.$tmpsnum; | $id = $$.'_'.$clientip.'_'.$tmpsnum; |