Skip to content
This repository was archived by the owner on Jul 15, 2020. It is now read-only.

Commit 9991eb4

Browse files
authored
Update passport.config.js
1 parent 22a6e05 commit 9991eb4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

passport.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
* In addition to standard options to pass to Passport a getUserFromProfile()
55
* method should be defined to allow us to use the same logic in
66
* passport-strategies.js for all providers (the oAuth standard doesn't
7-
* specify what format they should be in and different providers use different
8-
* names for fields like email address and name).
7+
* specify what format profile info should be returned in and providers
8+
* use different names for properties like email, avatar and name).
99
**/
1010

1111
require('dotenv').load()
@@ -90,4 +90,4 @@ if (process.env.TWITTER_KEY && process.env.TWITTER_SECRET) {
9090
})
9191
}
9292

93-
module.exports.providers = providers
93+
module.exports.providers = providers

0 commit comments

Comments
 (0)