Skip to content

Commit

Permalink
Typo in plugin comments
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Claxton <[email protected]>
  • Loading branch information
Cruikshanks and Jozzey authored Jul 31, 2024
1 parent 432c774 commit 6a03b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/plugins/crumb.plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Crumb = require('@hapi/crumb')
* so unreadable to the client) than it rejects the request. In our service the user will see a 404 as that is the
* default for an 'unauthorised' request.
*
* We have Crumb enable by default for all endpoints to avoid us forgetting to protect a html form. However, this means
* We have Crumb enabled by default for all endpoints to avoid us forgetting to protect a html form. However, this means
* it performs the check for _all_ POST requests. Our service exposes API-only POST endpoints which do not expect a
* payload. For this, the route config must include the following to disable Crumb.
*
Expand Down

0 comments on commit 6a03b86

Please sign in to comment.