mirror of
https://github.com/gofiber/fiber.git
synced 2025-05-31 11:52:41 +00:00
Update csrf.md
fix readme example
This commit is contained in:
parent
97da409533
commit
389e63d2c2
@ -146,8 +146,6 @@ KeyLookup will be ignored if Extractor is explicitly set.
|
||||
|
||||
Getting the CSRF token in a handler:
|
||||
|
||||
```go
|
||||
|
||||
```go
|
||||
func handler(c fiber.Ctx) error {
|
||||
handler := csrf.HandlerFromContext(c)
|
||||
|
Loading…
x
Reference in New Issue
Block a user