Skip to content

Commit

Permalink
Merge pull request #175 from wehriam/master
Browse files Browse the repository at this point in the history
  • Loading branch information
thomseddon committed May 17, 2015
2 parents 9cbf10a + 1f5921f commit b0f84cb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/grant.js
Original file line number Diff line number Diff line change
Expand Up @@ -466,10 +466,8 @@ function sendResponse (done) {

if (this.refreshToken) response.refresh_token = this.refreshToken;

this.res
.set('Cache-Control', 'no-store')
.set('Pragma', 'no-cache')
.jsonp(response);
this.res.set({'Cache-Control': 'no-store', 'Pragma': 'no-cache'});
this.res.jsonp(response);

if (this.config.continueAfterResponse)
done();
Expand Down

0 comments on commit b0f84cb

Please sign in to comment.