Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7f54448

Browse files
philipithomaselithrar
authored andcommitted
[docs] Fix incorrect function name in docs (#49)
1 parentbbe6687 commit7f54448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func HttpOnly(h bool) Option {
6363
// provide a handler that returns a static HTML file with a HTTP 403 status. By
6464
// default a HTTP 403 status and a plain text CSRF failure reason are served.
6565
//
66-
// Note that a custom error handler can also access the csrf.Failure(r)
66+
// Note that a custom error handler can also access the csrf.FailureReason(r)
6767
// function to retrieve the CSRF validation reason from the request context.
6868
funcErrorHandler(h http.Handler)Option {
6969
returnfunc(cs*csrf) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp