Skip to content

Commit

Permalink
[docs] Fix incorrect function name in docs (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipithomas authored and elithrar committed Oct 15, 2016
1 parent bbe6687 commit 7f54448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func HttpOnly(h bool) Option {
// provide a handler that returns a static HTML file with a HTTP 403 status. By
// default a HTTP 403 status and a plain text CSRF failure reason are served.
//
// Note that a custom error handler can also access the csrf.Failure(r)
// Note that a custom error handler can also access the csrf.FailureReason(r)
// function to retrieve the CSRF validation reason from the request context.
func ErrorHandler(h http.Handler) Option {
return func(cs *csrf) {
Expand Down

0 comments on commit 7f54448

Please sign in to comment.