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

Commit 544c607

Browse files
committed
Fixed arena link
1 parent cfbc022 commit 544c607

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

actions/memberRegistration.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -396,9 +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 (regSource.match(/arena/) {
400-
url += '&destination=http%3A%2F%2Farena.topcoder.com'
401-
})
399+
if (regSource.match(/arena/)) {
400+
url += '&destination=http%3A%2F%2Farena.topcoder.com';
401+
}
402402
api.log("Activation url: " + url, "debug");
403403

404404
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)