summaryrefslogtreecommitdiff
path: root/actions/profilesettings.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/profilesettings.php')
-rw-r--r--actions/profilesettings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/profilesettings.php b/actions/profilesettings.php
index c14a3f640..95f625de9 100644
--- a/actions/profilesettings.php
+++ b/actions/profilesettings.php
@@ -140,7 +140,7 @@ class ProfilesettingsAction extends SettingsAction {
$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';