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:
Paul Rodwell 2021-11-11 10:14:23 +00:00
parent 89adbb5dc0
commit 831fe4b836
No known key found for this signature in database
GPG Key ID: 083BA337597C49E6
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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'