hapijs / crumb

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

Fixes #74 -- restful configured through routes is not superceded by global config #79

Closed aef- closed 8 years ago

aef- commented 8 years ago

Also fixes a test case which should have been failing. For that test case, restful is set as true through the plugin config, but passes without the CSRF header, instead relying on the payload. If this is too stringent let me know.

stongo commented 8 years ago

LGTM, thanks!

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.