email article: change secretkey method
This commit is contained in:
parent
9ed0b90f63
commit
736e8977b3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue