There was an error while loading. Please reload this page.
1 parent 5aa876b commit 77a5f75Copy full SHA for 77a5f75
1 file changed
middleware/csrf.go
@@ -58,7 +58,7 @@ type CSRFConfig struct {
58
TokenLookup string `yaml:"token_lookup"`
59
60
// Generator defines a function to generate token.
61
- // Optional. Defaults tp randomString(TokenLength).
+ // Optional. Defaults to randomString(TokenLength).
62
Generator func() string
63
64
// Context key to store generated CSRF token into context.
0 commit comments