1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:45:55 +00:00

email article: change secretkey method

This commit is contained in:
Andrew Dolgov
2010-11-06 22:39:39 +03:00
parent 9ed0b90f63
commit 736e8977b3

View File

@@ -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;