Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update the login example to express 3

  • Loading branch information...
commit 828f409c81fc58c5530e8dbeddad9cae4fa37705 1 parent 4ba37f6
@dan-silver dan-silver authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  examples/login/app.js
  2. +1 −1  examples/login/package.json
View
2  examples/login/app.js
@@ -48,7 +48,7 @@ passport.use(new FacebookStrategy({
-var app = express.createServer();
+var app = express();
// configure Express
app.configure(function() {
View
2  examples/login/package.json
@@ -2,7 +2,7 @@
"name": "passport-facebook-examples-login",
"version": "0.0.0",
"dependencies": {
- "express": ">= 0.0.0",
+ "express": "3.x",
"ejs": ">= 0.0.0",
"passport": ">= 0.0.0",
"passport-facebook": ">= 0.0.0"
Please sign in to comment.
Something went wrong with that request. Please try again.