Skip to content
This repository has been archived by the owner on Feb 25, 2019. It is now read-only.

Commit

Permalink
Merge pull request #109 from vsimonian/patch-4
Browse files Browse the repository at this point in the history
Fix callback function name
  • Loading branch information
christiansmith committed Jun 30, 2015
2 parents bb25868 + 69ac462 commit 92cf59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oidc/verifyAuthorizationCode.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function verifyAuthorizationCode (req, res, next) {
if (params.grant_type === 'authorization_code') {

AuthorizationCode.getByCode(params.code, function (err, ac) {
if (err) { return callback(err); }
if (err) { return next(err); }

// Can't find authorization code
if (!ac) {
Expand Down

0 comments on commit 92cf59c

Please sign in to comment.