mirror of
https://github.com/labstack/echo.git
synced 2025-07-17 01:43:02 +02:00
Support Go 1.12 for http.SameSiteNoneMode
This commit is contained in:
@ -146,7 +146,7 @@ func TestCSRFWithSameSiteModeNone(t *testing.T) {
|
||||
c := e.NewContext(req, rec)
|
||||
|
||||
csrf := CSRFWithConfig(CSRFConfig{
|
||||
CookieSameSite: http.SameSiteNoneMode,
|
||||
CookieSameSite: SameSiteNoneMode,
|
||||
})
|
||||
|
||||
h := csrf(func(c echo.Context) error {
|
||||
|
Reference in New Issue
Block a user