email article: change secretkey method

master
Andrew Dolgov 14 years ago
parent 9ed0b90f63
commit 736e8977b3

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

Loading…
Cancel
Save