We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 037dec4 commit f56f95bCopy full SHA for f56f95b
middleware/csrf.go
@@ -13,7 +13,7 @@ import (
13
"github.com/labstack/echo/v5"
14
)
15
16
-// CSRFUsingSecFetchSite is a context key for CSRF middleware what is set when the client browser is using Sec-Fetch-Site
+// CSRFUsingSecFetchSite is a context key value for CSRF middleware that is set when the client browser is using Sec-Fetch-Site
17
// header and the request is deemed safe.
18
// It is a dummy token value that can be used to render CSRF token for form by handlers.
19
const CSRFUsingSecFetchSite = "_echo_csrf_using_sec_fetch_site_"
0 commit comments