diff options
-rw-r--r-- | actions/register.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/register.php b/actions/register.php index d9315b424..ed3b33969 100644 --- a/actions/register.php +++ b/actions/register.php @@ -116,7 +116,7 @@ class RegisterAction extends Action { if ($email) { $confirm = new Confirm_email(); - $confirm->code = common_good_random(16); + $confirm->code = common_good_rand(16); $confirm->user_id = $user->id; $confirm->email = $email; |