diff options
author | Andrew Dolgov <[email protected]> | 2010-11-06 22:39:39 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-06 22:39:39 +0300 |
commit | 736e8977b3ca635fcb0f700814e41fba50a9eb84 (patch) | |
tree | 37a107f619936e263204e038026688996ba538ac /modules | |
parent | 9ed0b90f634f6f6a18402f902d1ab124598248dd (diff) |
email article: change secretkey method
Diffstat (limited to 'modules')
-rw-r--r-- | modules/popup-dialog.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index c37e392e6..54f4a3e61 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -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; |