Skip to content

Commit cad726c

Browse files
authored
Merge pull request #1931 from processing/chore/migrate-passport-github
[#1905] Migrate from passport-github to passport-github2
2 parents 2bc7e59 + f68f62c commit cad726c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
"nodemailer": "^6.4.16",
193193
"nodemailer-mailgun-transport": "^1.4.0",
194194
"passport": "^0.3.2",
195-
"passport-github": "^1.1.0",
195+
"passport-github2": "^0.1.12",
196196
"passport-google-oauth20": "^1.0.0",
197197
"passport-http": "^0.3.0",
198198
"passport-local": "^1.0.0",

server/config/passport.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import friendlyWords from 'friendly-words';
33
import lodash from 'lodash';
44

55
import passport from 'passport';
6-
import GitHubStrategy from 'passport-github';
6+
import GitHubStrategy from 'passport-github2';
77
import LocalStrategy from 'passport-local';
88
import GoogleStrategy from 'passport-google-oauth20';
99
import { BasicStrategy } from 'passport-http';

0 commit comments

Comments
 (0)