Skip to content
This repository has been archived by the owner on Apr 24, 2019. It is now read-only.

Commit

Permalink
update code example in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
relekang committed Sep 9, 2014
1 parent cd3d6ef commit 5eb8d2e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Expand Up @@ -17,11 +17,9 @@ fairly the same except it is not necessary to write the strategy.

```javascript
var passport = require("passport");
var passportAbakus = require("passport-abakus");
var abakusStrategy = require("passport-abakus");

passport.use(passportAbakus.abakusStrategy());
passport.serializeUser(passportAbakus.serializeAbakusUser);
passport.deserializeUser(passportAbakus.deserializeAbakusUser);
passport.use(abakusStrategy());

app.use(passport.initialize());
```
Expand Down

0 comments on commit 5eb8d2e

Please sign in to comment.