Skip to content

Commit 64eab11

Browse files
committed
[#1905] Migrate from passport-github to passport-github2
1 parent a228eb9 commit 64eab11

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
@@ -191,7 +191,7 @@
191191
"nodemailer": "^6.4.16",
192192
"nodemailer-mailgun-transport": "^1.4.0",
193193
"passport": "^0.3.2",
194-
"passport-github": "^1.1.0",
194+
"passport-github2": "^0.1.12",
195195
"passport-google-oauth20": "^1.0.0",
196196
"passport-http": "^0.3.0",
197197
"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)