confirm address

darcs-hash:20080622161917-34904-32528c78b43d501d5994c4f5c74b977ca4d9c618.gz
This commit is contained in:
Evan Prodromou 2008-06-22 12:19:17 -04:00
parent ac35bec3ab
commit 1906237ddc

View File

@ -138,6 +138,8 @@ class ProfilesettingsAction extends SettingsAction {
# We don't update email directly; it gets done by confirmemail
$confirm = new Confirm_address();
$confirm->code = common_good_rand(16);
$confirm->user_id = $user->id;
$confirm->address = $email;