Skip to content

Commit 8978f21

Browse files
author
sachin-maheshwari
authored
Merge pull request #294 from rakibansary/feat/social-login
refactor: cleanup logs
2 parents 753f9fd + 13b0884 commit 8978f21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web-assets/auth0/dev-tenant/rules/onboardingChecklist.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function (user, context, callback) {
106106
if (data.length === 0) {
107107
// User doesn't have any traits with traitId onboarding_checklist and should be shown the onboarding wizard
108108
context.idToken[global.AUTH0_CLAIM_NAMESPACE + 'show_onboarding_wizard'] = true;
109-
console.log('rule:onboarding-checklist:Setting show_onboarding_wizard to true', user);
109+
console.log('rule:onboarding-checklist:Setting show_onboarding_wizard to true');
110110
return callback(null, user, context);
111111
}
112112

@@ -137,7 +137,7 @@ function (user, context, callback) {
137137
}
138138

139139
// All checks failed - indicating user newly registered and needs to be shown the onboarding wizard
140-
console.log('rule:onboarding-checklist: set show_onboarding_wizard', user);
140+
console.log('rule:onboarding-checklist: set show_onboarding_wizard');
141141
context.idToken[global.AUTH0_CLAIM_NAMESPACE + 'show_onboarding_wizard'] = true;
142142
return callback(null, user, context);
143143
} catch (e) {

0 commit comments

Comments
 (0)