Skip to content

Commit

Permalink
fix: set extended for body-parser urlencoded to prevent the deprecati…
Browse files Browse the repository at this point in the history
…on warning (#199)
  • Loading branch information
tobyryuk authored and pi0 committed Aug 22, 2018
1 parent 174e135 commit 0226836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/providers/_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function addAuthorize (strategy) {
strategy.response_type = 'code'

// Form data parser
const formMiddleware = bodyParser.urlencoded()
const formMiddleware = bodyParser.urlencoded({ extended: true })

// Register endpoint
this.options.serverMiddleware.unshift({
Expand Down

1 comment on commit 0226836

@assoft
Copy link

@assoft assoft commented on 0226836 Mar 11, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please merge to 4.5.3

Please sign in to comment.