Setting plugins.crumb: false
on a route does not disable crumb validation
#165
Labels
bug
Bug or defect
Runtime
node.js
Runtime version
20
Module version
9.0.1
Last module version without issue
No response
Used with
hapi
Any other relevant information
From the documentation:
This test case verifies the expected behaviour with regards to setting
route.options.plugins.crumb: false
:What are you trying to achieve or the steps to reproduce?
I want to disable crumb validation/generation for a specific route, without using the
skip
option (to keep concerns separated). I therefore setroute.options.plugins.crumb: false
as suggested by the documentation.What was the result you got?
The crumb validation runs and a new cookie value is returned.
What result did you expect?
The crumb validation should not run, no cookie should be set.
The text was updated successfully, but these errors were encountered: