strongloop / loopback-example-passport

LoopBack example for facebook login
Other
185 stars 134 forks source link

Use app.middleware() to load middleware using phases #35

Closed hacksparrow closed 7 years ago

crandmck commented 9 years ago

@raymondfeng PTAL. I will merge if you don't have any objections.

crandmck commented 9 years ago

When I run this and click on the link "Link social accounts to your account" I get this error:

Error: Failed to lookup view "pages/link" in views directory "/Users/rand/StrongLoop/loopback-example-passport/server/views"
    at EventEmitter.app.render (/Users/rand/StrongLoop/loopback-example-passport/node_modules/loopback/node_modules/express/lib/application.js:555:17)
...

Not sure if this is an issue with this PR or an existing problem in the app? @hacksparrow ?

hacksparrow commented 9 years ago

Caused by a missing jade file in the views directory of the original repo, not a problem introduced by the PR. If the requirement is known, I can fix it as well.

stale[bot] commented 7 years ago

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.