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:
@ -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
|
||||
}));
|
||||
|
Reference in New Issue
Block a user