|
@@ -27,7 +27,7 @@ module.exports = {
|
|
},
|
|
},
|
|
usernameField: 'email',
|
|
usernameField: 'email',
|
|
passwordField: 'password',
|
|
passwordField: 'password',
|
|
- passReqToCallback: false
|
|
|
|
|
|
+ passReqToCallback: true
|
|
}, async (req, profile, cb) => {
|
|
}, async (req, profile, cb) => {
|
|
try {
|
|
try {
|
|
const userId = _.get(profile, conf.mappingUID, null)
|
|
const userId = _.get(profile, conf.mappingUID, null)
|