user->get_user_by_username_or_email($email); if ($token == $user->activation_code) { $approve = $TeKe->user->user_approve($user->id); $TeKe->add_system_message(_("Your account is now activated. You may log in."), 'success'); } } forward(""); ?>