9fdaae1a9485d4edac72cefecc4d53a355221e75 — Martin Angers 5 months 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 @@ csrf.Path(conf.Path),
  			csrf.RequestHeader(conf.RequestHeader),
  			csrf.Secure(conf.Secure),
+ 			csrf.FieldName(conf.FormFieldName),
  		))
  	}