Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

Commit

Permalink
remove refresh_token option validation in refresh grant authenticator
Browse files Browse the repository at this point in the history
  • Loading branch information
typerandom committed Dec 27, 2015
1 parent 6436489 commit 43f477f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/oauth/refresh-grant.js
Expand Up @@ -27,8 +27,6 @@ OAuthRefreshTokenGrantAuthenticator.prototype.authenticate = function authentica
var application = this.application;
if(arguments.length !==2 ){
throw new Error('Must call authenticate with (data,callback)');
}else if (!data.refresh_token){
throw new Error('data does not have refresh_token property');
}else{
var href = application.href + '/oauth/token';
var formData = {
Expand Down

0 comments on commit 43f477f

Please sign in to comment.