We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee2718a commit da72c8cCopy full SHA for da72c8c
server.js
@@ -92,7 +92,8 @@ function setup_github_passport(consumer_key, consumer_secret) {
92
passport.use(new GitHubStrategy({
93
clientID: consumer_key,
94
clientSecret: consumer_secret,
95
- callbackURL: "http://" + HOSTNAME + "/auth/github/callback"
+ callbackURL: "http://" + HOSTNAME + "/auth/github/callback",
96
+ userAgent: HOSTNAME
97
},
98
function(accessToken, refreshToken, profile, done) {
99
// asynchronous verification, for effect...
@@ -557,4 +558,4 @@ process.on('uncaughtException', function(err) {
557
558
debug_helper.kill_debug(false, function() {
559
//no need to wait for this
560
});
-});
561
+});
0 commit comments