email article: change secretkey method

This commit is contained in:
Andrew Dolgov 2010-11-06 22:39:39 +03:00
parent 9ed0b90f63
commit 736e8977b3
1 changed files with 1 additions and 1 deletions

View File

@ -673,7 +673,7 @@
print "<form id=\"article_email_form\" onsubmit='return false'>";
$secretkey = sha1(make_password(10));
$secretkey = sha1(uniqid(rand(), true));
$_SESSION['email_secretkey'] = $secretkey;