From 736e8977b3ca635fcb0f700814e41fba50a9eb84 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 6 Nov 2010 22:39:39 +0300 Subject: [PATCH] email article: change secretkey method --- modules/popup-dialog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "
"; - $secretkey = sha1(make_password(10)); + $secretkey = sha1(uniqid(rand(), true)); $_SESSION['email_secretkey'] = $secretkey;