Skip to content

Commit

Permalink
Merge pull request #74 from jaw187/master
Browse files Browse the repository at this point in the history
Updated docs
  • Loading branch information
jaw187 committed Jun 13, 2015
2 parents b1f5593 + f996780 commit 6c21467
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ takes the following required options:
not trigger a redirection. Requires **hapi** version 6.2.0 or newer. Defaults to `true`;
- `validateFunc` - an optional session validation function used to validate the content of the
session cookie on each request. Used to verify that the internal session state is still valid
(e.g. user account still exists). The function has the signature `function(session, callback)`
(e.g. user account still exists). The function has the signature `function(request, session, callback)`
where:
- `request` - is the Hapi request object of the request which is being authenticated.
- `session` - is the session object set via `request.auth.session.set()`.
- `callback` - a callback function with the signature `function(err, isValid, credentials)`
where:
Expand Down Expand Up @@ -187,4 +188,3 @@ server.route([

server.start();
```

0 comments on commit 6c21467

Please sign in to comment.