mirror of https://github.com/gofiber/fiber.git
parent
97da409533
commit
389e63d2c2
|
@ -146,8 +146,6 @@ KeyLookup will be ignored if Extractor is explicitly set.
|
||||||
|
|
||||||
Getting the CSRF token in a handler:
|
Getting the CSRF token in a handler:
|
||||||
|
|
||||||
```go
|
|
||||||
|
|
||||||
```go
|
```go
|
||||||
func handler(c fiber.Ctx) error {
|
func handler(c fiber.Ctx) error {
|
||||||
handler := csrf.HandlerFromContext(c)
|
handler := csrf.HandlerFromContext(c)
|
||||||
|
|
Loading…
Reference in New Issue