Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 1a67e29

Browse files
committed
Merge pull request #405 from appirio-tech/technology-2015-01-22
Technology 2015 01 22
2 parents f5b5628 + bab8807 commit 1a67e29

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

actions/memberRegistration.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,9 @@ var registerUser = function (user, api, dbConnectionMap, next) {
396396
function (callback) {
397397
var url;
398398
url = process.env.TC_ACTIVATION_SERVER_NAME + '/reg2/activate.action?code=' + activationCode;
399+
if (user.regSource && user.regSource.match(/arena/)) {
400+
url += '&destination=http%3A%2F%2Farena.topcoder.com';
401+
}
399402
api.log("Activation url: " + url, "debug");
400403

401404
api.tasks.enqueue("sendEmail", {subject : activationEmailSubject, activationCode : activationCode, template : 'activation_email', toAddress : user.email, fromAddress : process.env.TC_EMAIL_ACCOUNT, senderName : activationEmailSenderName, url : url, userHandle : user.handle}, 'default');

0 commit comments

Comments
 (0)