move to using passport-github2
this is rather than using our own fork of passport-github, and will resolve fedwiki/wiki#136
This commit is contained in:
parent
89adbb5dc0
commit
831fe4b836
|
@ -9,7 +9,7 @@
|
|||
"es6-promise": "^4.2.8",
|
||||
"lodash": "^4.17.19",
|
||||
"passport": "^0.3.2",
|
||||
"passport-github": "github:FedWiki/passport-github#70fe99ba7e66422092a19d89f4b1ab1a23eac644",
|
||||
"passport-github2": "^0.1.12",
|
||||
"passport-google-oauth20": "^2.0.0",
|
||||
"passport-oauth2": "^1.6.1",
|
||||
"passport-twitter": "^1.0.4",
|
||||
|
@ -20,7 +20,7 @@
|
|||
"devDependencies": {
|
||||
"coffeeify": "^3.0.1",
|
||||
"grunt": "^1.2.1",
|
||||
"grunt-browserify": "^5.2.0",
|
||||
"grunt-browserify": "^6.0.0",
|
||||
"grunt-contrib-watch": "^1.0.0",
|
||||
"grunt-git-authors": "^3.2.0",
|
||||
"grunt-retire": "^1.0.8"
|
||||
|
|
|
@ -266,7 +266,7 @@ module.exports = exports = (log, loga, argv) ->
|
|||
# Github Strategy
|
||||
if argv.github_clientID? and argv.github_clientSecret?
|
||||
ids.push('github')
|
||||
GithubStrategy = require('passport-github').Strategy
|
||||
GithubStrategy = require('passport-github2').Strategy
|
||||
|
||||
githubStrategyName = callbackHost + 'Github'
|
||||
|
||||
|
|
Loading…
Reference in New Issue