Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set 'passport.js' as a const but don't use it? #44

Open
m4v15 opened this issue Jan 14, 2018 · 1 comment
Open

set 'passport.js' as a const but don't use it? #44

m4v15 opened this issue Jan 14, 2018 · 1 comment

Comments

@m4v15
Copy link

m4v15 commented Jan 14, 2018

Here

I'm guessing you need to require it in, so that the code get's run and passport is initialised correctly with your configuration, but you can just require it and not set it as a const require("../services/passport");

Doesn't look like anything is exported from that file, so passportServices will just be an empty object

@hannahcmtucker
Copy link
Member

#51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants