hapijs / crumb

CSRF crumb generation and validation for hapi
Other
171 stars 50 forks source link

Enable Crumb for specific routes only #101

Closed captainjackrana closed 6 years ago

captainjackrana commented 7 years ago

I wish to enable CSRF validation only for specific routes. If I register the plugin, i believe it enables Crumb validation for all registered server routes.

geek commented 6 years ago

The documentation update in PR #99 explains the solution to this problem.

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.