Skip to content

Commit

Permalink
Add TODO item.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed Oct 21, 2016
1 parent 7626c8c commit 5da2348
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/middleware/authorization.js
Expand Up @@ -211,6 +211,7 @@ module.exports = function(server, options, validate, immediate) {
} else if (arity == 5) {
validate(areq.clientID, areq.redirectURI, areq.scope, areq.type, validated);
} else if (arity == 6) {
// TODO: Can get rid of this, and `locals` extension
validate(areq.clientID, areq.redirectURI, areq.scope, areq.type, areq, validated);
} else { // arity == 2
validate(areq, validated);
Expand Down

0 comments on commit 5da2348

Please sign in to comment.