Skip to content
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
10 changes: 5 additions & 5 deletions web-assets/auth0/dev-tenant/rules/onboardingChecklist.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ function (user, context, callback) {
handle = _.get(user, "nickname", null);
}

if (handle == null) {
return callback();
}


console.log("rule:onboarding-checklist: fetch onboarding_checklist for email/handle: ", user.email, handle, provider);

// TODO: Properly fetch handle for social logins
if (handle == null || isSocial) {
return callback(null, user, context);
}

const createdAt = _.get(user, "created_at", null);
const thresholdDate = moment(configuration.PROFILE_CREATION_DATE_THRESHOLD, "YYYY-MM-DD");

Expand Down