Attempt to fix undefined "user"
This commit is contained in:
@ -226,10 +226,9 @@ module.exports = exports = (log, loga, argv) ->
|
|||||||
displayName: extractUserInfo(argv.oauth2_DisplayNameField, 'params.user_id')
|
displayName: extractUserInfo(argv.oauth2_DisplayNameField, 'params.user_id')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
cb(null, user)))
|
||||||
catch e
|
catch e
|
||||||
console.error('*** Error extracting user info:', e)
|
console.error('*** Error extracting user info:', e)
|
||||||
console.log user.oauth2
|
|
||||||
cb(null, user)))
|
|
||||||
|
|
||||||
# Github Strategy
|
# Github Strategy
|
||||||
if argv.github_clientID? and argv.github_clientSecret?
|
if argv.github_clientID? and argv.github_clientSecret?
|
||||||
|
Reference in New Issue
Block a user