You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
andErrorHandlerWithContext
, but I'm not sure all of these are useful.The text was updated successfully, but these errors were encountered: