Skip to content

Commit

Permalink
sent by yanel to make it clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed May 31, 2012
1 parent df29687 commit b5becf6
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -205,9 +205,9 @@ private void sendConfirmationLinkEmail(Document doc, UserRegistrationBean userRe
Element element = (Element) rootElement.appendChild(doc.createElementNS(NAMESPACE, "confirmation-link-email"));
if (sendNotificationsEnabled()) {
MailUtil.send(getResourceConfigProperty(FROM_ADDRESS_PROP_NAME), userRegBean.getEmail(), "Activate User Registration (sent by Yanel)", getActivationURL(userRegBean));
element.setAttribute("sent", "true");
element.setAttribute("sent-by-yanel", "true");
} else {
element.setAttribute("sent", "false");
element.setAttribute("sent-by-yanel", "false");
}
element.setAttribute("hours-valid", "" + DEFAULT_TOTAL_VALID_HRS);
if (getResourceConfigProperty("include-activation-link") != null && getResourceConfigProperty("include-activation-link").equals("true")) {
Expand Down

0 comments on commit b5becf6

Please sign in to comment.