Skip to content

Commit

Permalink
Add note about CSRF protection middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
simison authored Jan 25, 2018
1 parent 408e1e6 commit 431222c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ app.use('/agendash', Agendash(agenda, {
}));
```

Note that if you use a CSRF protection middleware like [`csurf`](https://www.npmjs.com/package/csurf), you might need to [configure it off](https://github.com/agenda/agendash/issues/23#issuecomment-270917949) for Agendash-routes.

### Additional options

The second argument to Agendash is an optional object. Valid keys are:
Expand Down

0 comments on commit 431222c

Please sign in to comment.