confirm address

darcs-hash:20080715223149-84dde-7159a4db6c0e09c4e616ae45d25ec734a60d36ae.gz
This commit is contained in:
Evan Prodromou 2008-07-15 18:31:49 -04:00
parent 993e2a82fe
commit a47ab1ad6a

View File

@ -173,6 +173,10 @@ class EmailsettingsAction extends SettingsAction {
return;
}
mail_confirm_address($confirm->code,
$user->nickname,
$email);
$msg = _('A confirmation code was sent to the email address you added. Check your inbox (and spam box!) for the code and instructions on how to use it.');
$this->show_form($msg, TRUE);