add state attribute to linked oauth

note: a new variable will need to be added to .env 'LINKEDIN_STATE'
which is a random string
This commit is contained in:
Berkeley Martinez
2015-06-17 20:59:35 -07:00
parent bb6f153858
commit bfddc0330f
2 changed files with 8 additions and 2 deletions

View File

@ -257,8 +257,8 @@ R.keys(passportProviders).map(function(strategy) {
* 500 Error Handler.
*/
//if (process.env.NODE_ENV === 'development') {
if (true) {
// if (process.env.NODE_ENV === 'development') {
if (true) { // eslint-disable-line
app.use(errorHandler({
log: true
}));