@@ 19,8 19,9 @@ The `tulip.pkg.csrf` module exports the `csrf` package.
(default: 'x-csrf-token')
* input\_name: string = form field to look for the csrf token (default:
'\_csrf\_token')
-* fail\_handler: function = middleware function to call on error (default:
- reply with 403, body contains error message)
+* error\_handler: function = middleware function to call on error,
+ gets called with (req, res, nxt, err). (default: reply with 403,
+ body contains error message)
* trusted\_origins: array of strings = trusted origins for https requests
# Registered Middleware