Skip to content

Commit 380423a

Browse files
committed
Merge remote-tracking branch 'JamesMGreene/patch-1' jaredhanson#120
2 parents 88849de + f9ba6ad commit 380423a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,13 @@ differently, options are available to change the defaults.
6767
passport.use(new LocalStrategy({
6868
usernameField: 'email',
6969
passwordField: 'passwd',
70-
session: false
7170
},
7271
function(username, password, done) {
7372
// ...
7473
}
7574
));
7675
```
7776

78-
When session support is not necessary, it can be safely disabled by
79-
setting the `session` option to false.
80-
8177
The verify callback can be supplied with the `request` object by setting
8278
the `passReqToCallback` option to true, and changing callback arguments
8379
accordingly.
@@ -87,7 +83,6 @@ passport.use(new LocalStrategy({
8783
usernameField: 'email',
8884
passwordField: 'passwd',
8985
passReqToCallback: true,
90-
session: false
9186
},
9287
function(req, username, password, done) {
9388
// request object is now first argument

0 commit comments

Comments
 (0)