|
@@ -82,9 +82,9 @@ try {
|
|
|
$user_address->user_id = $user->id;
|
|
$user_address->user_id = $user->id;
|
|
|
$success = $user_address->commit();
|
|
$success = $user_address->commit();
|
|
|
|
|
|
|
|
- // TODO: Send out registration email
|
|
|
|
|
|
|
+ $user->sendActivationEmail();
|
|
|
|
|
|
|
|
- Core::addAlert("success", "Registration successful. You can now log in.");
|
|
|
|
|
|
|
+ Core::addAlert("success", "Registration successful. An email has been sent to verify your email address. Please follow the instructions in the email before logging in.");
|
|
|
HTTP::redirect("/log-in");
|
|
HTTP::redirect("/log-in");
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|