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

Commit bab8807

Browse files
committed
Merge pull request #402 from cloudspokes/tom-S-278224-arena-signup
fixed regsource check
2 parents 6456dc7 + 4d1c1fc commit bab8807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actions/memberRegistration.js

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

0 commit comments

Comments
 (0)