echo icon indicating copy to clipboard operation
echo copied to clipboard

Custom CSRF ErrorHandler

Open dubvulture opened this issue 3 years ago • 0 comments

Issue Description

Similar to the JWT middleware which has a ErrorHandler, it would be useful to have a similar thing for the CSRF middleware. Why? Same as JWT, returning custom HTTP errors.

There are also BeforeFunc, SuccessFunc and ErrorHandlerWithContext, but I'm not sure all of these are useful.

dubvulture avatar May 18 '22 13:05 dubvulture