From 8a170ed8fd014cb7640b04c535a359b3275681fd Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 22 Jun 2008 12:32:41 -0400 Subject: special function for generating confirmation codes darcs-hash:20080622163241-34904-199b3654328d78c0b9fe2fa85a3ecc1ab0b1262a.gz --- actions/register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/register.php') diff --git a/actions/register.php b/actions/register.php index 862ca2a78..31c8fea70 100644 --- a/actions/register.php +++ b/actions/register.php @@ -121,7 +121,7 @@ class RegisterAction extends Action { if ($email) { $confirm = new Confirm_address(); - $confirm->code = common_good_rand(16); + $confirm->code = common_confirmation_code(128); $confirm->user_id = $user->id; $confirm->address = $email; $confirm->address_type = 'email'; -- cgit v1.2.3-54-g00ecf