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

fixed regsource check #402

Merged
merged 1 commit into from
Jan 21, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion actions/memberRegistration.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ var registerUser = function (user, api, dbConnectionMap, next) {
function (callback) {
var url;
url = process.env.TC_ACTIVATION_SERVER_NAME + '/reg2/activate.action?code=' + activationCode;
if (regSource && regSource.match(/arena/)) {
if (user.regSource && user.regSource.match(/arena/)) {
url += '&destination=http%3A%2F%2Farena.topcoder.com';
}
api.log("Activation url: " + url, "debug");
Expand Down