We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8abe8a commit 0ff6a2cCopy full SHA for 0ff6a2c
csrf.go
@@ -110,7 +110,7 @@ type options struct {
110
// func GetSignupForm(w http.ResponseWriter, r *http.Request) {
111
// // signup_form.tmpl just needs a {{ .csrfField }} template tag for
112
// // csrf.TemplateField to inject the CSRF token into. Easy!
113
-// t.ExecuteTemplate(w, "signup_form.tmpl", map[string]interface{
+// t.ExecuteTemplate(w, "signup_form.tmpl", map[string]interface{}{
114
// csrf.TemplateTag: csrf.TemplateField(r),
115
// })
116
// // We could also retrieve the token directly from csrf.Token(r) and
0 commit comments