Skip to content

Commit 9f0a1dc

Browse files
Merge pull request #6026 from topcoder-platform/fix/regsource
fix: add regSource when signup up through challenge Register btn
2 parents 506d0cb + e8538a3 commit 9f0a1dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ workflows:
343343
branches:
344344
only:
345345
- develop
346-
- fix/settings-save-fail
346+
- fix/regsource
347347
# This is alternate dev env for parallel testing
348348
- "build-test":
349349
context : org-global

src/shared/containers/challenge-detail/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ class ChallengeDetailPageContainer extends React.Component {
297297
} = this.props;
298298
if (!auth.tokenV3) {
299299
const utmSource = communityId || 'community-app-main';
300-
window.location.href = `${config.URL.AUTH}/member?retUrl=${encodeURIComponent(window.location.href)}&utm_source=${utmSource}`;
300+
window.location.href = `${config.URL.AUTH}/member?retUrl=${encodeURIComponent(window.location.href)}&utm_source=${utmSource}&regSource=challenges`;
301301
} else if (_.every(terms, 'agreed')) {
302302
registerForChallenge(auth, challengeId);
303303
} else {

0 commit comments

Comments
 (0)