Permalink
Browse files

Allow default scope separator to be overridden by option.

  • Loading branch information...
jaredhanson committed Mar 15, 2012
1 parent b6a5094 commit ab2ef93cb3f5c4e56d7c61178dbf752b3fbf4081
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/passport-github/strategy.js
@@ -46,7 +46,7 @@ function Strategy(options, verify) {
options = options || {};
options.authorizationURL = options.authorizationURL || 'https://github.com/login/oauth/authorize';
options.tokenURL = options.tokenURL || 'https://github.com/login/oauth/access_token';
- options.scopeSeparator = ',';
+ options.scopeSeparator = options.scopeSeparator || ',';
OAuth2Strategy.call(this, options, verify);
this.name = 'github';

0 comments on commit ab2ef93

Please sign in to comment.