Open masterT opened 1 year ago
Thanks for putting this together, @masterT! However, rather than leave this as a hook inside actions for users to override, I'd prefer we just fully build in support for checking the header for the CSRF token in addition to the request's params.
Would you like to have a go at doing that?
Sure, I will craft something.
I did implement your suggestion, this is ready for review. 🙂 @timriley
Retrieve the request CSRF token from the HTTP header
X-CSRF-Token
in the case the params_csrf_token
is not provided.Reference:
420