diff --git a/README.md b/README.md index 70419d3..3f21852 100755 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ The following options are available when registering the plugin * 'autoGenerate' - whether to automatically generate a new crumb for requests (defaults to true) * 'addToViewContext' - whether to automatically add the crumb to view contexts as the given key (defaults to true) * 'cookieOptions' - storage options for the cookie containing the crumb, see the [server.state](https://github.com/spumko/hapi/blob/master/docs/Reference.md#serverstatename-options) documentation of hapi for more information -* 'restful' - RESTful mode that validates crumb tokens from "X-CSRF-Token" request header for POST, PUT, PATCH and DELETE server routes. Disables payload/query crumb validation +* 'restful' - RESTful mode that validates crumb tokens from "X-CSRF-Token" request header for POST, PUT, PATCH and DELETE server routes. Disables payload/query crumb validation (defaults to false) Additionally, some configuration can be passed on a per-route basis