fix random function name
darcs-hash:20080829021854-84dde-818492a31c07dd0921c2a693095ca7ac901b6d35.gz
This commit is contained in:
parent
54bee1b999
commit
1df845db78
|
@ -1481,7 +1481,7 @@ function common_canonical_sms($sms) {
|
|||
function common_session_token() {
|
||||
common_ensure_session();
|
||||
if (!array_key_exists('token', $_SESSION)) {
|
||||
$_SESSION['token'] = common_random_bytes(64);
|
||||
$_SESSION['token'] = common_good_rand(64);
|
||||
}
|
||||
return $_SESSION['token'];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user