You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
well... if this is of interest to anyone... what I did was update a ServerSession package so params can be grabbed client side and used on Server: https://github.com/tewksbum/meteor-server-session
The use case that is laid out is EXACTLY what I want do. What I've done is, put this in the client/startup.js:
accountsUIBootstrap3.setCustomSignupOptions = function() {
return {
mxpDistinctId: Session.get('mxpdid'),
leadSource: Session.get('leadSource')
}
};
Then on the server, within onCreateUser I've tried:
console.log(options) - just has profile.name
console.log(options.leadSource) = undefined
console.log(options.mxpDistinctId) = undefined
What am I missing? Does the function need to be explicitly called somewhere? Am I using the wrong object within OnCreateUser?
Sorry - so close - yet so far!
The text was updated successfully, but these errors were encountered: