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
Ok
For removing deprecated warnings, we need to do 2 things.
For removing this: the server/replset/mongos options are deprecated, all their options are supported at the top level of the options object
At the config/environment/index.js, mongodb' option needs to be changed as top level json like following:
For removing this: DeprecationWarning: Buffer() is deprecated due to security and usability issues.
At the user.model.js, we need to change like followings: var salt = Buffer.alloc(this.salt, 'base64');
Thank you.
It does not send email ID when login with FB.
Please add this line.
profileFields: ['id', 'emails', 'name']
in the passport.jsThank you.
The text was updated successfully, but these errors were encountered: