~mna/kick

9fdaae1a9485d4edac72cefecc4d53a355221e75 — Martin Angers 1 year, 1 month ago 41e6ab7
builder: add form field name option for csrf
1 files changed, 1 insertions(+), 0 deletions(-)

M builder/builder.go
M builder/builder.go => builder/builder.go +1 -0
@@ 281,6 281,7 @@ func configureRoute(router *httprouter.Router, route *kick.Route) error {
			csrf.Path(conf.Path),
			csrf.RequestHeader(conf.RequestHeader),
			csrf.Secure(conf.Secure),
			csrf.FieldName(conf.FormFieldName),
		))
	}